DebugHelpers: Always update icons after recompile

The information about a Qt version (including the debugging helper paths)
is cached. Invalidate the cache after all the debugging helpers have
been built, such that the following icon updates actually get the latest
information.

We do invalidate the cache already before the compilation of
the debugging helpers have started, but QmlDumperTool::canBuild
then triggers a refill of the cache, at a time where the qmldump
executable has not yet been created.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2807
This commit is contained in:
Kai Koehne
2010-10-25 13:13:06 +02:00
parent 90c1b182b7
commit 206a79a3fb

View File

@@ -1833,5 +1833,8 @@ bool QtVersion::buildDebuggingHelperLibrary(QFutureInterface<void> &future,
}
future.setProgressValue(4);
// invalidate cache once more
m_versionInfoUpToDate = false;
return true;
}