From af81369baedcdb06c7cec0a680848d3d662293cb Mon Sep 17 00:00:00 2001 From: Alessandro Portale <alessandro.portale@nokia.com> Date: Fri, 18 Mar 2011 17:54:46 +0100 Subject: [PATCH] Code cleanup. Remove the code which handled the "QML_IMPORT_PATH" define in the .pro file (actually, it did not even handle it, since the line was commented). --- src/plugins/qt4projectmanager/wizards/qtquickapp.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp b/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp index 482bbf86672..5cb77ada042 100644 --- a/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp +++ b/src/plugins/qt4projectmanager/wizards/qtquickapp.cpp @@ -224,11 +224,8 @@ void QtQuickApp::handleCurrentProFileTemplateLine(const QString &line, QTextStream &proFileTemplate, QTextStream &proFile, bool &commentOutNextLine) const { - if (line.contains(QLatin1String("# QMLJSDEBUGGER"))) { - // ### disabled for now; figure out the private headers problem first. - //commentOutNextLine = true; - Q_UNUSED(commentOutNextLine) - } else if (line.contains(QLatin1String("# QML_IMPORT_PATH"))) { + Q_UNUSED(commentOutNextLine) + if (line.contains(QLatin1String("# QML_IMPORT_PATH"))) { QString nextLine = proFileTemplate.readLine(); // eats 'QML_IMPORT_PATH =' if (!nextLine.startsWith(QLatin1String("QML_IMPORT_PATH ="))) return; -- GitLab