From cb7f9fe49650c013755db2ad4e8f7727fb2cd251 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgad.shaneh@audiocodes.com> Date: Thu, 27 Feb 2014 09:22:09 +0200 Subject: [PATCH] Git: Remove refs/heads/ prefix from reset message in branches dialog Change-Id: Ia93cbb52038c1ea29f5fa441c9eb0e88cb11d9aa Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> --- src/plugins/git/branchdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/git/branchdialog.cpp b/src/plugins/git/branchdialog.cpp index a18c9a0d397..7d922a5cd75 100644 --- a/src/plugins/git/branchdialog.cpp +++ b/src/plugins/git/branchdialog.cpp @@ -323,8 +323,8 @@ void BranchDialog::log() void BranchDialog::reset() { - QString currentName = m_model->fullName(m_model->currentBranch(), true); - QString branchName = m_model->fullName(selectedIndex(), true); + QString currentName = m_model->fullName(m_model->currentBranch()); + QString branchName = m_model->fullName(selectedIndex()); if (currentName.isEmpty() || branchName.isEmpty()) return; -- GitLab