Fix ugly bug found by Thorbjorn on removing/adding qt versions

Reviewed-By: Thorbjorn
This commit is contained in:
dt
2009-12-10 12:08:40 +01:00
parent 73602b48be
commit c1816b248e

View File

@@ -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);