VCS: Consolidate submit editor actions setup

Change-Id: I36754779b6a9aa35de705b368daf8c2a1de058c6
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-08-28 00:03:59 +03:00
committed by Orgad Shaneh
parent f1f506b479
commit 767137157e
21 changed files with 59 additions and 203 deletions

View File

@@ -177,9 +177,12 @@ public:
QTextCodec *outputCodec = nullptr,
const QProcessEnvironment &env = QProcessEnvironment());
protected:
// Display name of the commit action:
// Display name of the commit action
virtual QString commitDisplayName() const;
virtual void commitFromEditor() = 0;
protected:
// Prompt to save all files before commit:
bool promptBeforeCommit();