summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-07-10 13:29:17 +0200
committerEike Ziller <eike.ziller@digia.com>2013-07-10 14:38:53 +0200
commit0873f27df76b07a3e8ad0963ea32707f13cef1dd (patch)
treec3848a1be6fe2c2cf2525403e954a1e4aa2c28fe /src
parentd141af165fb5e65f9a11b776f88d062963afcd27 (diff)
downloadqt-creator-0873f27df76b07a3e8ad0963ea32707f13cef1dd.tar.gz
Do not accumulate connections for updating external file warning
The project explorer was accumulating connects to editors' changed signals (for editors on "external" files). Change-Id: Ia961a76ca9b67429a682973bc68acd483d4cd127 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index d9ce009784..5dae618c14 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -1834,7 +1834,7 @@ void ProjectExplorerPlugin::setCurrent(Project *project, QString filePath, Node
if (!node && Core::EditorManager::currentEditor()) {
connect(Core::EditorManager::currentEditor(), SIGNAL(changed()),
- this, SLOT(updateExternalFileWarning()));
+ this, SLOT(updateExternalFileWarning()), Qt::UniqueConnection);
}
if (projectChanged || d->m_currentNode != node) {
d->m_currentNode = node;