aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectexplorersettings.h
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-01-17 13:52:14 +0100
committercon <qtc-committer@nokia.com>2011-01-17 13:52:33 +0100
commitedd7224cd69dd270d860674192b150de22aa6017 (patch)
tree6ff58dc4067546b8e63e817a871880197e228c89 /src/plugins/projectexplorer/projectexplorersettings.h
parentdaafa533d6e9d2efbbfdbf97d44ee8edabbaa957 (diff)
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
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorersettings.h')
-rw-r--r--src/plugins/projectexplorer/projectexplorersettings.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectexplorersettings.h b/src/plugins/projectexplorer/projectexplorersettings.h
index 078b40cf571..787512e5d13 100644
--- a/src/plugins/projectexplorer/projectexplorersettings.h
+++ b/src/plugins/projectexplorer/projectexplorersettings.h
@@ -46,7 +46,7 @@ struct ProjectExplorerSettings
saveBeforeBuild(false), showCompilerOutput(false),
showRunOutput(true), cleanOldAppOutput(false),
wrapAppOutput(true), useJom(true),
- autorestoreLastSession(false)
+ autorestoreLastSession(false), prompToStopRunControl(false)
{ }
bool buildBeforeDeploy;
@@ -58,6 +58,7 @@ struct ProjectExplorerSettings
bool wrapAppOutput;
bool useJom;
bool autorestoreLastSession; // This option is set in the Session Manager!
+ bool prompToStopRunControl;
// Add a UUid which is used to identify the development environment.
// This is used to warn the user when he is trying to open a .user file that was created
@@ -75,10 +76,10 @@ inline bool operator==(const ProjectExplorerSettings &p1, const ProjectExplorerS
&& p1.cleanOldAppOutput == p2.cleanOldAppOutput
&& p1.wrapAppOutput == p2.wrapAppOutput
&& p1.useJom == p2.useJom
- && p1.autorestoreLastSession == p2.autorestoreLastSession;
+ && p1.autorestoreLastSession == p2.autorestoreLastSession
+ && p1.prompToStopRunControl == p2.prompToStopRunControl;
}
-
} // namespace ProjectExplorer
} // namespace Internal