Warning fix.

This commit is contained in:
Leonardo Zide 2020-08-15 15:23:44 -07:00
parent 210a4dc973
commit c8acaeb2f0
2 changed files with 4 additions and 2 deletions

View file

@ -326,8 +326,10 @@ void lcQPreferencesDialog::on_lgeoPathBrowse_clicked()
ui->lgeoPath->setText(QDir::toNativeSeparators(result));
}
void lcQPreferencesDialog::on_ColorTheme_currentIndexChanged()
void lcQPreferencesDialog::on_ColorTheme_currentIndexChanged(int Index)
{
Q_UNUSED(Index);
if (QMessageBox::question(this, tr("Reset Colors"), tr("Would you like to also reset the interface colors to match the color theme?")) == QMessageBox::Yes)
mOptions->Preferences.SetInterfaceColors(static_cast<lcColorTheme>(ui->ColorTheme->currentIndex()));
}

View file

@ -32,7 +32,7 @@ public slots:
void on_MinifigSettingsBrowseButton_clicked();
void on_povrayExecutableBrowse_clicked();
void on_lgeoPathBrowse_clicked();
void on_ColorTheme_currentIndexChanged();
void on_ColorTheme_currentIndexChanged(int Index);
void ColorButtonClicked();
void on_antiAliasing_toggled();
void on_edgeLines_toggled();