Navigation Menu

Skip to content

Commit

Permalink
support more Qt options
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 18, 2016
1 parent fbaf3a1 commit ec0f808
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/App/Application.cpp
Expand Up @@ -1600,6 +1600,10 @@ pair<string, string> customSyntax(const string& s)
return make_pair(string("display"), string("null"));
else if (s.find("-style") == 0)
return make_pair(string("style"), string("null"));
else if (s.find("-graphicssystem") == 0)
return make_pair(string("graphicssystem"), string("null"));
else if (s.find("-widgetcount") == 0)
return make_pair(string("widgetcount"), string(""));
else if (s.find("-geometry") == 0)
return make_pair(string("geometry"), string("null"));
else if (s.find("-font") == 0)
Expand Down Expand Up @@ -1690,6 +1694,8 @@ void Application::ParseOptions(int ac, char ** av)
("stylesheet", boost::program_options::value< string >(), "set the application stylesheet")
("session", boost::program_options::value< string >(), "restore the application from an earlier session")
("reverse", "set the application's layout direction from right to left")
("widgetcount", "print debug messages about widgets")
("graphicssystem", boost::program_options::value< string >(), "backend to be used for on-screen widgets and pixmaps")
("display", boost::program_options::value< string >(), "set the X-Server")
("geometry ", boost::program_options::value< string >(), "set the X-Window geometry")
("font", boost::program_options::value< string >(), "set the X-Window font")
Expand Down

0 comments on commit ec0f808

Please sign in to comment.