diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-03-11 13:39:55 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-03-11 13:39:55 +0100 |
commit | 52bf71fbdff62bdcd0c67e0a5edc45b695b3c519 (patch) | |
tree | a0bcc473630b26eb4aa600b83a916053fd99ef89 /src/plugins/qmakeprojectmanager | |
parent | ee299651df3bcfc1c8745dc4e10394b47865f5c8 (diff) | |
parent | 01715c61722a8cbe3d800759bbd5d590fccdc525 (diff) | |
download | qt-creator-52bf71fbdff62bdcd0c67e0a5edc45b695b3c519.tar.gz |
Merge remote-tracking branch 'origin/3.1'
Conflicts:
README
tests/auto/debugger/tst_dumpers.cpp
Change-Id: Ib9aef37a246bc3bb9bca0c32a902af3b09ef3146
Diffstat (limited to 'src/plugins/qmakeprojectmanager')
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakebuildconfiguration.cpp | 2 | ||||
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakenodes.cpp | 8 | ||||
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakenodes.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakebuildconfiguration.cpp b/src/plugins/qmakeprojectmanager/qmakebuildconfiguration.cpp index 6d5a67c6ac..7c3a0f807a 100644 --- a/src/plugins/qmakeprojectmanager/qmakebuildconfiguration.cpp +++ b/src/plugins/qmakeprojectmanager/qmakebuildconfiguration.cpp @@ -182,7 +182,7 @@ void QmakeBuildConfiguration::qtVersionsChanged(const QList<int> &,const QList<i void QmakeBuildConfiguration::updateShadowBuild() { - // We also emit buildDirectoryChanged if the the Qt version's supportShadowBuild changed + // We also emit buildDirectoryChanged if the Qt version's supportShadowBuild changed bool currentShadowBuild = supportsShadowBuilds(); if (currentShadowBuild != m_qtVersionSupportsShadowBuilds) { if (!currentShadowBuild) diff --git a/src/plugins/qmakeprojectmanager/qmakenodes.cpp b/src/plugins/qmakeprojectmanager/qmakenodes.cpp index f0b280f480..8589fe4977 100644 --- a/src/plugins/qmakeprojectmanager/qmakenodes.cpp +++ b/src/plugins/qmakeprojectmanager/qmakenodes.cpp @@ -1067,10 +1067,10 @@ bool QmakePriFileNode::renameFile(const QString &filePath, const QString &newFil return true; } -ProjectExplorer::FolderNode::AddNewInformation QmakePriFileNode::addNewInformation(const QStringList &files) const +ProjectExplorer::FolderNode::AddNewInformation QmakePriFileNode::addNewInformation(const QStringList &files, Node *context) const { Q_UNUSED(files) - return ProjectExplorer::FolderNode::AddNewInformation(QFileInfo(path()).fileName(), 90); + return ProjectExplorer::FolderNode::AddNewInformation(QFileInfo(path()).fileName(), context == this ? 120 : 90); } bool QmakePriFileNode::priFileWritable(const QString &path) @@ -1573,10 +1573,10 @@ bool QmakeProFileNode::hasBuildTargets() const return hasBuildTargets(projectType()); } -ProjectExplorer::FolderNode::AddNewInformation QmakeProFileNode::addNewInformation(const QStringList &files) const +ProjectExplorer::FolderNode::AddNewInformation QmakeProFileNode::addNewInformation(const QStringList &files, Node *context) const { Q_UNUSED(files) - return AddNewInformation(QFileInfo(path()).fileName(), 100); + return AddNewInformation(QFileInfo(path()).fileName(), context == this ? 120 : 100); } bool QmakeProFileNode::hasBuildTargets(QmakeProjectType projectType) const diff --git a/src/plugins/qmakeprojectmanager/qmakenodes.h b/src/plugins/qmakeprojectmanager/qmakenodes.h index 6d544820d9..71e78b169e 100644 --- a/src/plugins/qmakeprojectmanager/qmakenodes.h +++ b/src/plugins/qmakeprojectmanager/qmakenodes.h @@ -158,7 +158,7 @@ public: bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = 0); bool deleteFiles(const QStringList &filePaths); bool renameFile(const QString &filePath, const QString &newFilePath); - AddNewInformation addNewInformation(const QStringList &files) const; + AddNewInformation addNewInformation(const QStringList &files, Node *context) const; bool setProVariable(const QString &var, const QString &value); @@ -368,7 +368,7 @@ public: bool hasBuildTargets() const; - AddNewInformation addNewInformation(const QStringList &files) const; + AddNewInformation addNewInformation(const QStringList &files, Node *context) const; QmakeProjectType projectType() const; |