mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Merge pull request #8398 from luis-pereira/no-qdeleteall-on-temporaries
Don't use qDeleteAll() on temporaries
This commit is contained in:
commit
226b0d4194
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ SearchEngine::SearchEngine()
|
||||||
|
|
||||||
SearchEngine::~SearchEngine()
|
SearchEngine::~SearchEngine()
|
||||||
{
|
{
|
||||||
qDeleteAll(m_plugins.values());
|
qDeleteAll(m_plugins);
|
||||||
cancelSearch();
|
cancelSearch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ void TrackerList::moveSelectionDown()
|
||||||
|
|
||||||
void TrackerList::clear()
|
void TrackerList::clear()
|
||||||
{
|
{
|
||||||
qDeleteAll(m_trackerItems.values());
|
qDeleteAll(m_trackerItems);
|
||||||
m_trackerItems.clear();
|
m_trackerItems.clear();
|
||||||
m_DHTItem->setText(COL_STATUS, "");
|
m_DHTItem->setText(COL_STATUS, "");
|
||||||
m_DHTItem->setText(COL_SEEDS, "");
|
m_DHTItem->setText(COL_SEEDS, "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue