forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user