Git: Remove refs/heads/ prefix from reset message in branches dialog

Change-Id: Ia93cbb52038c1ea29f5fa441c9eb0e88cb11d9aa
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2014-02-27 09:22:09 +02:00
committed by Orgad Shaneh
parent 5c942d04c5
commit cb7f9fe496

View File

@@ -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;