diff options
author | Simon Rettberg | 2016-01-21 12:56:35 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-21 12:56:35 +0100 |
commit | 93b8967abb2fd8b9724ea9062c3751416206ad3f (patch) | |
tree | c5e4b7a5480f89b071615bfab5a7708287e4402b /src/main.cpp | |
parent | Fix help output (location -> locations) (diff) | |
download | vmchooser2-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.cpp | 4 |
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); |