forked from qt-creator/qt-creator
DebuggingHelper: Always invalidate cached QtVersion information after run
Moving this to DebuggingHelperBuildTask / QtVersionManager makes sure the version information is also updated if e.g. the QtOptionsPage has been closed in between. Also, update all Qt versions that share the same qmake path. Change-Id: Idc23f6d9fa609e2a36f1d6d4cb09c6483afd4cc4
This commit is contained in:
@@ -370,6 +370,19 @@ void QtVersionManager::updateDocumentation()
|
||||
helpManager->registerDocumentation(files);
|
||||
}
|
||||
|
||||
void QtVersionManager::updateQtVersion(int id)
|
||||
{
|
||||
BaseQtVersion *qtVersion = version(id);
|
||||
QTC_ASSERT(qtVersion, return);
|
||||
|
||||
// update actually all Qt versions with the same qmake command
|
||||
const QString qmakeCommand = qtVersion->qmakeCommand();
|
||||
foreach (BaseQtVersion *v, versions()) {
|
||||
if (v->qmakeCommand() == qmakeCommand)
|
||||
v->recheckDumper();
|
||||
}
|
||||
}
|
||||
|
||||
void QtVersionManager::updateSettings()
|
||||
{
|
||||
updateDocumentation();
|
||||
|
||||
Reference in New Issue
Block a user