summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial/mercurialplugin.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-04 12:58:01 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-04 12:58:01 +0100
commit5ec1c36c232b1783b5b3dd7684e05ef8378bcb90 (patch)
treec1bb8c8c8e2769d70c779b1a3567791f31291d44 /src/plugins/mercurial/mercurialplugin.cpp
parentf73c6e9b04f0a3e5ceabaf411c92bf8c8cec82ba (diff)
downloadqt-creator-5ec1c36c232b1783b5b3dd7684e05ef8378bcb90.tar.gz
Mercurial: Emit version control changed() signals correctly.
Add a QVariant cookie to HgTask to be emitted on successful execution, wired to IVersionControl.
Diffstat (limited to 'src/plugins/mercurial/mercurialplugin.cpp')
-rw-r--r--src/plugins/mercurial/mercurialplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/mercurial/mercurialplugin.cpp b/src/plugins/mercurial/mercurialplugin.cpp
index 97f8df9437..49963698ec 100644
--- a/src/plugins/mercurial/mercurialplugin.cpp
+++ b/src/plugins/mercurial/mercurialplugin.cpp
@@ -162,6 +162,7 @@ bool MercurialPlugin::initialize(const QStringList &arguments, QString *error_me
mercurialVC = new MercurialControl(client);
addAutoReleasedObject(mercurialVC);
+ connect(client, SIGNAL(changed(QVariant)), mercurialVC, SLOT(changed(QVariant)));
static const char *describeSlot = SLOT(view(QString,QString));
const int editorCount = sizeof(editorParameters)/sizeof(VCSBase::VCSBaseEditorParameters);