summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 1 insertions, 9 deletions
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 <width>x<height>\n"
- " -w, --windowmgr use <command> 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<Session*> xsessions(XSession::readSessions(xSessionPath));
QList<Session*> vsessions(VSession::readXmlDir(vSessionPath));
- Dialog w(windowmgr);
+ Dialog w;
w.resize(width, height);
if (xsessions.empty() && vsessions.empty()) {
std::cerr << a.translate(