mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Warning fix.
This commit is contained in:
parent
210a4dc973
commit
c8acaeb2f0
2 changed files with 4 additions and 2 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue