summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-06-29 17:35:41 +0300
committerOrgad Shaneh <orgads@gmail.com>2014-06-30 11:19:33 +0200
commit398872bcdc009724690f7ead12dc73a6b714aeac (patch)
tree4c9a099cd12dc6342a1ca904eb98886986331754 /src/plugins/vcsbase
parentcf211e46cffb0fddaa53338df52bd9f76582cd57 (diff)
downloadqt-creator-398872bcdc009724690f7ead12dc73a6b714aeac.tar.gz
Git: Fix showing commits from rebase-todo editor
We used to need the repository root in order to resolve the file. This is no longer needed, since the raw patch is parsed instead. Change-Id: Ifdbbcd686a5ef7bbbd472f37b20190b9e9abebe7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/vcsbaseplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp
index ff6758d9e2..5a4c16ba4c 100644
--- a/src/plugins/vcsbase/vcsbaseplugin.cpp
+++ b/src/plugins/vcsbase/vcsbaseplugin.cpp
@@ -750,6 +750,7 @@ static const char SOURCE_PROPERTY[] = "qtcreator_source";
void VcsBasePlugin::setSource(Core::IDocument *document, const QString &source)
{
document->setProperty(SOURCE_PROPERTY, source);
+ VcsBasePluginPrivate::m_listener->slotStateChanged();
}
QString VcsBasePlugin::source(Core::IDocument *document)