From f42272cab615f2a8cbda65b988e105e68532f43e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 28 Mar 2015 15:40:56 +0200 Subject: 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 --- vcl/source/app/svapp.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/source/app') 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; } -- cgit