forked from qt-creator/qt-creator
Git: Simplify action in branch view
Change-Id: Ic1a604baa7b83b7244febde776c95896b56a1467 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
37ff19c002
commit
d21f72d0dd
@@ -223,8 +223,9 @@ void BranchView::slotCustomContextMenu(const QPoint &point)
|
||||
});
|
||||
contextMenu.addSeparator();
|
||||
}
|
||||
QAction *act = contextMenu.addAction(tr("Manage &Remotes..."));
|
||||
connect(act, &QAction::triggered, [this] { GitPlugin::manageRemotes(); });
|
||||
contextMenu.addAction(tr("Manage &Remotes..."), this, [] {
|
||||
GitPlugin::manageRemotes();
|
||||
});
|
||||
}
|
||||
if (hasActions) {
|
||||
if (!currentSelected && (isLocal || isTag))
|
||||
|
||||
Reference in New Issue
Block a user