Change contextChanged signal to also notify about additional contexts.

This commit is contained in:
con
2010-03-26 12:16:44 +01:00
parent 7daeffbd29
commit 4f4bbe9828
6 changed files with 7 additions and 7 deletions

View File

@@ -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()));