mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00: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
@ -84,7 +84,7 @@ SearchEngine::SearchEngine()
|
||||
|
||||
SearchEngine::~SearchEngine()
|
||||
{
|
||||
qDeleteAll(m_plugins.values());
|
||||
qDeleteAll(m_plugins);
|
||||
cancelSearch();
|
||||
}
|
||||
|
||||
|
@ -234,7 +234,7 @@ void TrackerList::moveSelectionDown()
|
||||
|
||||
void TrackerList::clear()
|
||||
{
|
||||
qDeleteAll(m_trackerItems.values());
|
||||
qDeleteAll(m_trackerItems);
|
||||
m_trackerItems.clear();
|
||||
m_DHTItem->setText(COL_STATUS, "");
|
||||
m_DHTItem->setText(COL_SEEDS, "");
|
||||
|
Loading…
Reference in New Issue
Block a user