Kaydet (Commit) f42272ca authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make console-only mode a proper subset of headless mode

Let's not make the mode space too complex. Do we really want to have to ponder
what it means to be console-only but not headless?

Make it so that turning on console-only mode also turns on headless mode (with
dialogsAreFatal turned on, too).

Change-Id: I630cb1bc605c1fb1787ace58180125509ef8789b
üst ba819f90
...@@ -1512,6 +1512,7 @@ bool Application::IsConsoleOnly() ...@@ -1512,6 +1512,7 @@ bool Application::IsConsoleOnly()
void Application::EnableConsoleOnly() void Application::EnableConsoleOnly()
{ {
EnableHeadlessMode(true);
bConsoleOnly = true; bConsoleOnly = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment