forked from qt-creator/qt-creator
VCS: Update state when configuration is changed
Change-Id: I6b3f924a5802521540e53aabc6905355f17f74d8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f696b8d9ac
commit
d524f37ca0
@@ -208,6 +208,8 @@ StateListener::StateListener(QObject *parent) :
|
|||||||
this, SLOT(slotStateChanged()));
|
this, SLOT(slotStateChanged()));
|
||||||
connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)),
|
connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)),
|
||||||
this, SLOT(slotStateChanged()));
|
this, SLOT(slotStateChanged()));
|
||||||
|
connect(Core::ICore::vcsManager(), SIGNAL(configurationChanged(QString)),
|
||||||
|
this, SLOT(slotStateChanged()));
|
||||||
|
|
||||||
if (ProjectExplorer::ProjectExplorerPlugin *pe = ProjectExplorer::ProjectExplorerPlugin::instance())
|
if (ProjectExplorer::ProjectExplorerPlugin *pe = ProjectExplorer::ProjectExplorerPlugin::instance())
|
||||||
connect(pe, SIGNAL(currentProjectChanged(ProjectExplorer::Project*)),
|
connect(pe, SIGNAL(currentProjectChanged(ProjectExplorer::Project*)),
|
||||||
|
|||||||
Reference in New Issue
Block a user