summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitplugin.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-07-07 12:57:56 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-07-08 11:24:03 +0200
commit45ccd7d919c23ce816ed180f5bd4ed2f2a186d06 (patch)
tree0ed3c264fd37fafe7291f586c6588e2480291d1a /src/plugins/git/gitplugin.cpp
parent5388a43cbf4a5f4a176429415b9c3af6cc96d0e1 (diff)
downloadqt-creator-45ccd7d919c23ce816ed180f5bd4ed2f2a186d06.tar.gz
Git: Fix crash on checkout branch
Task-number: QTCREATORBUG-9756 Change-Id: I3bdba870737bbffde6c0e6a9046a58ba78f097be Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r--src/plugins/git/gitplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index 9d3dda8d81..9f8ba007db 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -690,7 +690,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)),
this, SLOT(updateContinueAndAbortCommands()));
connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)),
- this, SLOT(updateBranches(QString)));
+ this, SLOT(updateBranches(QString)), Qt::QueuedConnection);
if (!Core::ICore::mimeDatabase()->addMimeTypes(QLatin1String(RC_GIT_MIME_XML), errorMessage))
return false;