summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-21 12:56:35 +0100
committerSimon Rettberg2016-01-21 12:56:35 +0100
commit93b8967abb2fd8b9724ea9062c3751416206ad3f (patch)
treec5e4b7a5480f89b071615bfab5a7708287e4402b /src/main.cpp
parentFix help output (location -> locations) (diff)
downloadvmchooser2-93b8967abb2fd8b9724ea9062c3751416206ad3f.tar.gz
vmchooser2-93b8967abb2fd8b9724ea9062c3751416206ad3f.tar.xz
vmchooser2-93b8967abb2fd8b9724ea9062c3751416206ad3f.zip
Fix copy paste messup
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cbbe08f..2c1a17b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -221,9 +221,9 @@ int main(int argc, char *argv[]) {
if (cmdOptions.contains("template-mode")) {
QString mode = cmdOptions.value("template-mode");
if (mode == "IGNORE") {
- g_forLocationHandling = LOCATION_IGNORE;
+ g_templateHandling = LOCATION_IGNORE;
} else if (mode == "BUMP") {
- g_forLocationHandling = LOCATION_BUMP;
+ g_templateHandling = LOCATION_BUMP;
} else {
qDebug() << "Invalid template mode: " << mode;
QMessageBox::critical(NULL, "Error", "Invalid template mode: " + mode);