diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-28 15:40:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-28 15:41:00 +0200 |
commit | f42272cab615f2a8cbda65b988e105e68532f43e (patch) | |
tree | c81bbb8911f384fb5e9876c6f8414bc47668ef1d /vcl/source/app | |
parent | ba819f90eb00451a542330a0b6948537bc085a2b (diff) |
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
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/svapp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 7da6b6346bb0..1c4eba9edb80 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1512,6 +1512,7 @@ bool Application::IsConsoleOnly() void Application::EnableConsoleOnly() { + EnableHeadlessMode(true); bConsoleOnly = true; } |