From 7c5b19ebf4f4909a452ee78abe79e60e4d12a2cf Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 6 Aug 2013 18:26:31 +0200 Subject: Revert "Git: Use a single filename for log" Breaks compilation This reverts commit a05ea7113368a807057410b84d7ef21409d818af Change-Id: I713f06a1fe1ff24f4721cda082fb732dc3f5c270 Reviewed-by: Orgad Shaneh --- src/plugins/git/gitplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/git/gitplugin.cpp') diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 1692b780d2..6801a97390 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -744,7 +744,7 @@ void GitPlugin::diffCurrentProject() { const VcsBase::VcsBasePluginState state = currentState(); QTC_ASSERT(state.hasProject(), return); - m_gitClient->diff(state.currentProjectTopLevel(), QStringList(state.relativeCurrentProject())); + m_gitClient->diff(state.currentProjectTopLevel(), state.relativeCurrentProject()); } void GitPlugin::diffRepository() @@ -758,7 +758,7 @@ void GitPlugin::logFile() { const VcsBase::VcsBasePluginState state = currentState(); QTC_ASSERT(state.hasFile(), return); - m_gitClient->log(state.currentFileTopLevel(), state.relativeCurrentFile(), true); + m_gitClient->log(state.currentFileTopLevel(), QStringList(state.relativeCurrentFile()), true); } void GitPlugin::blameFile() -- cgit v1.2.1