summaryrefslogtreecommitdiff
path: root/src/plugins/autotoolsprojectmanager
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-05-28 13:19:32 +0200
committerKai Koehne <kai.koehne@digia.com>2013-05-28 13:59:16 +0200
commit17539d670fd2fe3b3e35bb8e394c825891f0b340 (patch)
tree4350189d5188fb7bdba153642d46f21011915729 /src/plugins/autotoolsprojectmanager
parent16c2c96cba83b7094599b1260f8d16fac1ad6ca7 (diff)
downloadqt-creator-17539d670fd2fe3b3e35bb8e394c825891f0b340.tar.gz
Revert "Project: Set QML/C++ languages where both are possible"
This reverts commit 75691393ec9bf87c290fb8e9d199cbeab7e726f8. Otherwise we'd enable QML debugging for virtually all projects. Change-Id: I5518624a9973a9f61fbef6c680b5a83c74d0b4a9 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsproject.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
index b9f69f887f..0c1b52993f 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp
@@ -79,9 +79,7 @@ AutotoolsProject::AutotoolsProject(AutotoolsManager *manager, const QString &fil
m_makefileParserThread(0)
{
setProjectContext(Core::Context(Constants::PROJECT_CONTEXT));
- Core::Context pl(ProjectExplorer::Constants::LANG_CXX);
- pl.add(ProjectExplorer::Constants::LANG_QMLJS);
- setProjectLanguages(pl);
+ setProjectLanguages(Core::Context(ProjectExplorer::Constants::LANG_CXX));
const QFileInfo fileInfo(m_fileName);
m_projectName = fileInfo.absoluteDir().dirName();