diff options
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index ac28a68..8df19e2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -98,10 +98,12 @@ static void parseCommandLine(const QCoreApplication &a) QCommandLineOption oBackground(QStringList() << "b" << "background", QCoreApplication::translate("main", "Keep running in background and show GUI when number of screens changes.")); parser.addOption(oBackground); + /* // Test mode -- pretend to do setup QCommandLineOption oTest(QStringList() << "t" << "test", QCoreApplication::translate("main", "Test mode, don't actually apply any changes.")); - //parser.addOption(oTest); TODO Not fully implemented so disabled for now + parser.addOption(oTest); TODO Not fully implemented so disabled for now + */ // Wakeup beamergui daemon via DBus connect QCommandLineOption oWakeup(QStringList() << "w" << "wakeup", QCoreApplication::translate("main", "Connect to system bus to trigger wakeup of wainting beamergui.")); @@ -112,7 +114,9 @@ static void parseCommandLine(const QCoreApplication &a) parser.addOption(oCenter); // PARSE parser.process(a); - _testMode = parser.isSet(oTest); + /* + _testMode = parser.isSet(oTest); + */ _autoSetup = parser.isSet(oAutoSetup); _showGui = parser.isSet(oShowGui); _backgroundMode = parser.isSet(oBackground); |