Replace Q_OS_WIN with Q_OS_WIN32
This commit is contained in:
@@ -101,7 +101,7 @@ AppearanceSettingsPage::AppearanceSettingsPage(SettingsDialog *dialog, QWidget *
|
||||
QObject::connect(ui_->select_playlist_playing_song_color, &QPushButton::pressed, this, &AppearanceSettingsPage::PlaylistPlayingSongSelectColor);
|
||||
QObject::connect(ui_->playlist_playing_song_color_system, &QRadioButton::toggled, this, &AppearanceSettingsPage::PlaylistPlayingSongColorSystem);
|
||||
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN)
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN32)
|
||||
ui_->checkbox_system_icons->hide();
|
||||
#endif
|
||||
|
||||
@@ -120,7 +120,7 @@ void AppearanceSettingsPage::Load() {
|
||||
|
||||
ComboBoxLoadFromSettings(s, ui_->combobox_style, QLatin1String(kStyle), u"default"_s);
|
||||
|
||||
#if !defined(Q_OS_MACOS) && !defined(Q_OS_WIN)
|
||||
#if !defined(Q_OS_MACOS) && !defined(Q_OS_WIN32)
|
||||
ui_->checkbox_system_icons->setChecked(s.value(kSystemThemeIcons, false).toBool());
|
||||
#endif
|
||||
|
||||
@@ -202,7 +202,7 @@ void AppearanceSettingsPage::Save() {
|
||||
|
||||
s.setValue("style", ui_->combobox_style->currentText());
|
||||
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN)
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN32)
|
||||
s.setValue(kSystemThemeIcons, false);
|
||||
#else
|
||||
s.setValue(kSystemThemeIcons, ui_->checkbox_system_icons->isChecked());
|
||||
|
||||
@@ -275,7 +275,7 @@ void BackendSettingsPage::Load_Device(const QString &output, const QVariant &dev
|
||||
ui_->combobox_device->clear();
|
||||
ui_->lineedit_device->clear();
|
||||
|
||||
#ifndef Q_OS_WIN
|
||||
#ifndef Q_OS_WIN32
|
||||
ui_->combobox_device->addItem(IconLoader::Load(u"soundcard"_s), QLatin1String(kOutputAutomaticallySelect), QVariant());
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user