forked from qt-creator/qt-creator
VCS: Do less when command is aborted internally
If the user cancels a command, output and error text might still be interesting. When aborting a command internally (when Creator is closed, or later when a command is re-executed for the same editor), we don't want any of those, and they have a destructive potential. Change-Id: I5e35fdf59c0fcdc0af45f13ac142da31edf18bd7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
6d7bf0f7e7
commit
8e90640edb
@@ -80,6 +80,7 @@ public:
|
||||
void addJob(const QStringList &arguments, Utils::ExitCodeInterpreter *interpreter = 0);
|
||||
void addJob(const QStringList &arguments, int timeout, Utils::ExitCodeInterpreter *interpreter = 0);
|
||||
void execute();
|
||||
void abort();
|
||||
bool lastExecutionSuccess() const;
|
||||
int lastExecutionExitCode() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user