forked from qt-creator/qt-creator
Qt: Make sure clean up does not remove autodetected Qts
This commit is contained in:
@@ -306,7 +306,7 @@ void QtOptionsPageWidget::cleanUpQtVersions()
|
||||
{
|
||||
QStringList toRemove;
|
||||
foreach (const QtVersion *v, m_versions) {
|
||||
if (!v->isValid())
|
||||
if (!v->isValid() && !v->isAutodetected())
|
||||
toRemove.append(v->displayName());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user