forked from qt-creator/qt-creator
DiffEditor/VCS: Save document before applying/reverting patch chunk
Fixes: QTCREATORBUG-22506 Change-Id: I646f24068c0c81890f36052537320a743fdeb498 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
7edf743583
commit
f696d1e6cf
@@ -20,7 +20,7 @@ public:
|
||||
static Utils::FilePath patchCommand();
|
||||
static void setPatchCommand(const Utils::FilePath &newCommand);
|
||||
|
||||
static bool confirmPatching(QWidget *parent, PatchAction patchAction);
|
||||
static bool confirmPatching(QWidget *parent, PatchAction patchAction, bool isModified);
|
||||
|
||||
// Utility to run the 'patch' command
|
||||
static bool runPatch(const QByteArray &input, const Utils::FilePath &workingDirectory = {},
|
||||
|
||||
Reference in New Issue
Block a user