forked from qt-creator/qt-creator
Git: Add context-menu actions for cherry-pick and revert
Change-Id: Ic266fe039423a37df2fc347ead7530322ac47bb8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
5e5831bb12
commit
b53d398e2c
@@ -365,6 +365,7 @@ void ChangeTextCursorHandler::fillContextMenu(QMenu *menu, EditorContentType typ
|
||||
default:
|
||||
break;
|
||||
}
|
||||
widget->addChangeActions(menu, m_currentChange);
|
||||
}
|
||||
|
||||
QString ChangeTextCursorHandler::currentContents() const
|
||||
@@ -1449,6 +1450,10 @@ QString VcsBaseEditorWidget::fileNameFromDiffSpecification(const QTextBlock &inB
|
||||
return QString();
|
||||
}
|
||||
|
||||
void VcsBaseEditorWidget::addChangeActions(QMenu *, const QString &)
|
||||
{
|
||||
}
|
||||
|
||||
QString VcsBaseEditorWidget::decorateVersion(const QString &revision) const
|
||||
{
|
||||
return revision;
|
||||
|
||||
Reference in New Issue
Block a user