diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-07-11 12:48:55 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-07-11 18:05:03 +0200 |
commit | bcf9c7621f7e9b87500cdefa5c3e34cd15582352 (patch) | |
tree | e6b56f8e4e116537cea44086da85996d942bfcf0 /src/plugins/git/gitplugin.cpp | |
parent | fd183531dda5f746e3924de57e8b377f204e2a13 (diff) | |
download | qt-creator-bcf9c7621f7e9b87500cdefa5c3e34cd15582352.tar.gz |
Git: Remove args from diff
They are unused
Change-Id: I6cff3c6028208f1c7c0937c53b3f5090dae719a6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 6ad53f5ad5..4828566a2e 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -717,7 +717,7 @@ GitVersionControl *GitPlugin::gitVersionControl() const void GitPlugin::submitEditorDiff(const QStringList &unstaged, const QStringList &staged) { - m_gitClient->diff(m_submitRepository, QStringList(), unstaged, staged); + m_gitClient->diff(m_submitRepository, unstaged, staged); } void GitPlugin::submitEditorMerge(const QStringList &unmerged) @@ -737,21 +737,21 @@ void GitPlugin::diffCurrentFile() { const VcsBase::VcsBasePluginState state = currentState(); QTC_ASSERT(state.hasFile(), return); - m_gitClient->diff(state.currentFileTopLevel(), QStringList(), state.relativeCurrentFile()); + m_gitClient->diff(state.currentFileTopLevel(), state.relativeCurrentFile()); } 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() { const VcsBase::VcsBasePluginState state = currentState(); QTC_ASSERT(state.hasTopLevel(), return); - m_gitClient->diff(state.topLevel(), QStringList(), QStringList()); + m_gitClient->diff(state.topLevel(), QStringList()); } void GitPlugin::logFile() |