1
0
Fork 0

Fix copy-paste bug setting season in the Qt guy

Spotted by Adrian Serrano!
This commit is contained in:
James Turner 2016-03-22 10:56:05 +00:00
parent d0c341fa47
commit cbf16b7966

View file

@ -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;