Fix copy-paste bug setting season in the Qt guy
Spotted by Adrian Serrano!
This commit is contained in:
parent
d0c341fa47
commit
cbf16b7966
1 changed files with 2 additions and 2 deletions
|
@ -790,8 +790,8 @@ void QtLauncher::onRun()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_ui->seasonCombo->currentIndex() != 0) {
|
if (m_ui->seasonCombo->currentIndex() != 0) {
|
||||||
QString dayval = m_ui->timeOfDayCombo->currentText().toLower();
|
QString seasonName = m_ui->seasonCombo->currentText().toLower();
|
||||||
opt->addOption("season", dayval.toStdString());
|
opt->addOption("season", seasonName.toStdString());
|
||||||
}
|
}
|
||||||
|
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
|
|
Loading…
Reference in a new issue