forked from qt-creator/qt-creator
Fix ugly bug found by Thorbjorn on removing/adding qt versions
Reviewed-By: Thorbjorn
This commit is contained in:
@@ -441,10 +441,12 @@ void QtVersionManager::setNewQtVersions(QList<QtVersion *> newVersions, int newD
|
||||
|
||||
while (nit != nend) {
|
||||
changedVersions.push_back((*nit)->uniqueId());
|
||||
++nit;
|
||||
}
|
||||
|
||||
while (oit != oend) {
|
||||
changedVersions.push_back((*oit)->uniqueId());
|
||||
++oit;
|
||||
}
|
||||
|
||||
qDeleteAll(m_versions);
|
||||
|
Reference in New Issue
Block a user