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
@@ -236,6 +236,9 @@ protected:
|
||||
// Revert a patch chunk. Default implementation uses patch.exe
|
||||
virtual bool applyDiffChunk(const DiffChunk &dc, bool revert = false) const;
|
||||
|
||||
virtual void addChangeActions(QMenu *menu, const QString &change);
|
||||
|
||||
private:
|
||||
// Implement to return a set of change identifiers in
|
||||
// annotation mode
|
||||
virtual QSet<QString> annotationChanges() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user