Commit 76008cda authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Do not save unconfigured Qt versions

Do not save Qt versions without a qmake set. Makes no sense to keep
parent 8de03ac2
......@@ -748,7 +748,12 @@ void QtOptionsPageWidget::updateCurrentGcceDirectory()
QList<QSharedPointerQtVersion> QtOptionsPageWidget::versions() const
return m_versions;
QList<QSharedPointerQtVersion> result;
for (int i = 0; i < m_versions.count(); ++i) {
if (>qmakeCommand() != m_specifyPathString)
return result;
QString QtOptionsPageWidget::searchKeywords() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment