diff options
author | Simon Rettberg | 2019-05-24 15:54:02 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-24 15:54:02 +0200 |
commit | cbdf5af29f524aab372f4772942010655cd3fe3a (patch) | |
tree | aa8995ca4102ba7e09851a5c53807ca624dcbc26 | |
parent | Make auto-center smarter (hopefully) (diff) | |
download | beamergui-cbdf5af29f524aab372f4772942010655cd3fe3a.tar.gz beamergui-cbdf5af29f524aab372f4772942010655cd3fe3a.tar.xz beamergui-cbdf5af29f524aab372f4772942010655cd3fe3a.zip |
Fix warning about defunct -t option
-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); |