OSDN Git Service

QtOptionsPage: Fixing compilation
authorKai Koehne <kai.koehne@nokia.com>
Tue, 25 Jan 2011 10:57:03 +0000 (11:57 +0100)
committerKai Koehne <kai.koehne@nokia.com>
Tue, 25 Jan 2011 10:57:42 +0000 (11:57 +0100)
src/plugins/qt4projectmanager/qtoptionspage.cpp

index b10dbd1..05b2d1a 100644 (file)
@@ -513,17 +513,7 @@ void QtOptionsPageWidget::updateDebuggingHelperInfo(const QtVersion *version)
 
         QString qmlDumpStatusText;
         if (hasQmlDumper) {
-            QString qmlDumpPaths = version->qmlDumpTool(false);
-            {
-                QString debugQmlDumpPath = version->qmlDumpTool(true);
-                if (qmlDumpPaths != debugQmlDumpPath) {
-                    if (!qmlDumpPaths.isEmpty())
-                        qmlDumpPaths += QLatin1String("\n");
-                    qmlDumpPaths += debugQmlDumpPath;
-                }
-            }
-
-            qmlDumpStatusText = qmlDumpPaths;
+            qmlDumpStatusText = version->qmlDumpTool();
         } else {
             if (canBuildQmlDumper) {
                 qmlDumpStatusText = tr("<i>Not yet built.</i>");