forked from qt-creator/qt-creator
Change contextChanged signal to also notify about additional contexts.
This commit is contained in:
@@ -173,7 +173,7 @@ StateListener::StateListener(QObject *parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
Core::ICore *core = Core::ICore::instance();
|
||||
connect(core, SIGNAL(contextChanged(Core::IContext *)),
|
||||
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