From cbf16b79667229df2cabb2dbaf7b4f4e51300fd2 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 22 Mar 2016 10:56:05 +0000 Subject: [PATCH] Fix copy-paste bug setting season in the Qt guy Spotted by Adrian Serrano! --- src/GUI/QtLauncher.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 8d31c6725..6357e94b3 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -790,8 +790,8 @@ void QtLauncher::onRun() } if (m_ui->seasonCombo->currentIndex() != 0) { - QString dayval = m_ui->timeOfDayCombo->currentText().toLower(); - opt->addOption("season", dayval.toStdString()); + QString seasonName = m_ui->seasonCombo->currentText().toLower(); + opt->addOption("season", seasonName.toStdString()); } QSettings settings;