From 206a79a3fb841d66870019487cc2d6ac8162a23d Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Mon, 25 Oct 2010 13:13:06 +0200 Subject: [PATCH] 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 --- src/plugins/qt4projectmanager/qtversionmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp index 618ad01bbb5..f07491286c8 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.cpp +++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp @@ -1833,5 +1833,8 @@ bool QtVersion::buildDebuggingHelperLibrary(QFutureInterface<void> &future, } future.setProgressValue(4); + // invalidate cache once more + m_versionInfoUpToDate = false; + return true; } -- GitLab