forked from qt-creator/qt-creator
Git: remove superfluous curly braces in branch view
Change-Id: I649c8835d5a4eb30d1f77cfd3e9da33fe017ec9f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
673d22b8e3
commit
758f9cfef7
@@ -172,9 +172,8 @@ void BranchView::slotCustomContextMenu(const QPoint &point)
|
|||||||
contextMenu.addAction(tr("Remove"), this, &BranchView::remove);
|
contextMenu.addAction(tr("Remove"), this, &BranchView::remove);
|
||||||
if (isLocal || isTag)
|
if (isLocal || isTag)
|
||||||
contextMenu.addAction(tr("Rename"), this, &BranchView::rename);
|
contextMenu.addAction(tr("Rename"), this, &BranchView::rename);
|
||||||
if (!currentSelected) {
|
if (!currentSelected)
|
||||||
contextMenu.addAction(tr("Checkout"), this, &BranchView::checkout);
|
contextMenu.addAction(tr("Checkout"), this, &BranchView::checkout);
|
||||||
}
|
|
||||||
contextMenu.addSeparator();
|
contextMenu.addSeparator();
|
||||||
contextMenu.addAction(tr("Diff"), this, [this] {
|
contextMenu.addAction(tr("Diff"), this, [this] {
|
||||||
const QString fullName = m_model->fullName(selectedIndex(), true);
|
const QString fullName = m_model->fullName(selectedIndex(), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user