Mercurial: Emit version control changed() signals correctly.

Add a QVariant cookie to HgTask to be emitted on successful
execution, wired to IVersionControl.
This commit is contained in:
Friedemann Kleint
2009-12-04 12:58:01 +01:00
parent f73c6e9b04
commit 5ec1c36c23
8 changed files with 93 additions and 26 deletions

View File

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