Qt: Update invalid icon

Update the invalid icon of the Qt version as soon as the qmake path
is changed.

Task-number: QTCREATORBUG-4408
This commit is contained in:
Tobias Hunger
2011-04-08 11:16:40 +02:00
parent 6db7426d5e
commit 43f2096800

View File

@@ -820,7 +820,7 @@ void QtOptionsPageWidget::updateCurrentQMakeLocation()
currentItem->setText(1, QDir::toNativeSeparators(version->qmakeCommand()));
showEnvironmentPage(currentItem);
updateDebuggingHelperUi();
updateState();
if (m_versionUi->nameEdit->text().isEmpty() || m_versionUi->nameEdit->text() == m_specifyNameString) {
QString name = ProjectExplorer::DebuggingHelperLibrary::qtVersionForQMake(version->qmakeCommand());