Add "never ask again" option to dialog asking about killing applications

The option is used for the stop button in the application output.
Closing tabs will still ask unconditionally, also if applications would
be killed as a side-effect, e.g. of closing Qt Creator.
The Symbian controls also always ask, with a more descriptive text,
because killing applications might have negative effect on the device in
some cases.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-3119
This commit is contained in:
con
2011-01-17 13:52:14 +01:00
parent daafa533d6
commit edd7224cd6
14 changed files with 160 additions and 47 deletions

View File

@@ -85,7 +85,7 @@ public:
// ProjectExplorer::RunControl
void start();
bool aboutToStop() const;
bool promptToStop(bool *prompt = 0) const;
StopResult stop(); // Called from SnapshotWindow.
bool isRunning() const;
QString displayName() const;