From 58dac2dedc606c97abd37688bdba92b0243eb494 Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Wed, 2 Mar 2011 17:27:07 +0100 Subject: window manager intergration removed --- src/main.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 83525a6..6264923 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -38,7 +38,6 @@ int main(int argc, char *argv[]) { " -p, --path path to vmware .xml files\n" " -x, --xpath path of X Session .desktop files\n" " -s, --size window size x\n" - " -w, --windowmgr use window manager\n" " -v, --version print version and exit\n" " -h, --help print usage information and exit\n" "\nFILE can be a vmware .xml or an X .desktop file\n") @@ -92,13 +91,6 @@ int main(int argc, char *argv[]) { } } - // TODO: parse args => command_line_options.cpp - QString windowmgr; - if (cmdOptions.contains("windowmgr")) { - windowmgr = cmdOptions.value("windowmgr"); - } - - // read configuration file: // file supplied as command line option or // user vmchooser.conf or @@ -171,7 +163,7 @@ int main(int argc, char *argv[]) { QList xsessions(XSession::readSessions(xSessionPath)); QList vsessions(VSession::readXmlDir(vSessionPath)); - Dialog w(windowmgr); + Dialog w; w.resize(width, height); if (xsessions.empty() && vsessions.empty()) { std::cerr << a.translate( -- cgit v1.2.3-55-g7522