From 55029f41fb69c50d4ded2f81245f7eca87121645 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Mon, 18 May 2009 14:57:33 +0200 Subject: [PATCH] Show the proper state of the debugging helper. --- src/plugins/qt4projectmanager/qtversionmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp index c360bf8e5b0..b743dd70c98 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.cpp +++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp @@ -319,11 +319,11 @@ QtVersion::QtVersion(const QString &name, const QString &path, int id, bool isSy m_defaultConfigIsDebugAndRelease(true), m_hasDebuggingHelper(false) { - setPath(path); if (id == -1) m_id = getUniqueId(); else m_id = id; + setPath(path); } QtVersion::QtVersion(const QString &name, const QString &path) @@ -333,8 +333,8 @@ QtVersion::QtVersion(const QString &name, const QString &path) m_isSystemVersion(false), m_hasDebuggingHelper(false) { - setPath(path); m_id = getUniqueId(); + setPath(path); } QString QtVersion::name() const -- GitLab