aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vcsbase/vcsbaseplugin.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2010-04-23 16:21:02 +0200
committerFriedemann Kleint <[email protected]>2010-04-23 16:21:09 +0200
commit5923733889075800a0979c73476bf3bbae204e89 (patch)
treee387ff01d3eecf606fba3e40782d046f60ce8bb5 /src/plugins/vcsbase/vcsbaseplugin.cpp
parentfbbb6cf64b6b7081eec3308dea008956f2bf5c66 (diff)
VCS: Speed up
Do not listen on ICore::contextChanged to update actions (became slow after additional contexts). git: Make code to find top level faster, avoid constructing file info lists. Acked-by: con
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.cpp')
-rw-r--r--src/plugins/vcsbase/vcsbaseplugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp
index 40d781fcb0c..436920142f2 100644
--- a/src/plugins/vcsbase/vcsbaseplugin.cpp
+++ b/src/plugins/vcsbase/vcsbaseplugin.cpp
@@ -173,8 +173,6 @@ StateListener::StateListener(QObject *parent) :
QObject(parent)
{
Core::ICore *core = Core::ICore::instance();
- connect(core, SIGNAL(contextChanged(Core::IContext*,QList<int>)),
- this, SLOT(slotStateChanged()));
connect(core->fileManager(), SIGNAL(currentFileChanged(QString)),
this, SLOT(slotStateChanged()));