summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 98e52d4..fabf36c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -57,14 +57,12 @@ int main(int argc, char *argv[])
ScreenSetup::inst()->initModes();
- ScreenMode currentMode;
if (CommandLine::center()) {
ScreenSetup::inst()->setCenteredClone();
- currentMode = ScreenMode::Clone;
} else if (CommandLine::autoSetup()) {
- currentMode = ScreenSetup::inst()->setDefaultMode(CommandLine::testMode());
+ ScreenSetup::inst()->setDefaultMode(CommandLine::testMode());
} else {
- currentMode = ScreenSetup::inst()->getCurrentMode();
+ ScreenSetup::inst()->getCurrentMode();
}
Widget *w = nullptr;