forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
5c942d04c5
commit
cb7f9fe496
@@ -323,8 +323,8 @@ void BranchDialog::log()
|
|||||||
|
|
||||||
void BranchDialog::reset()
|
void BranchDialog::reset()
|
||||||
{
|
{
|
||||||
QString currentName = m_model->fullName(m_model->currentBranch(), true);
|
QString currentName = m_model->fullName(m_model->currentBranch());
|
||||||
QString branchName = m_model->fullName(selectedIndex(), true);
|
QString branchName = m_model->fullName(selectedIndex());
|
||||||
if (currentName.isEmpty() || branchName.isEmpty())
|
if (currentName.isEmpty() || branchName.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user