Skip to content

Commit cbf6d6d

Browse files
committed
SettingsFragment::MenuEditor: apply icon colors correctly
1 parent bd4f504 commit cbf6d6d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/interface/fragment/SettingsFragment.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ SettingsFragment::SettingsFragment(TrayIcon *trayIcon,
3939
ui->setupUi(this);
4040

4141
#ifdef USE_PULSEAUDIO
42-
ui->devices->setEnabled(false);
43-
ui->devices_group->setTitle("Select sink/device to be processed (PipeWire only)");
42+
ui->devices->setVisible(false);
43+
ui->selector->findItems("Devices", Qt::MatchFlag::MatchExactly).first()->setHidden(true);
4444
ui->blocklistBox->setVisible(false);
4545
#endif
4646

@@ -198,8 +198,6 @@ void SettingsFragment::refreshAll()
198198
QString autostart_path = AutostartManager::getAutostartPath("jdsp-gui.desktop");
199199

200200
ui->menu_edit->setTargetMenu(_trayIcon->getTrayMenu());
201-
ui->menu_edit->setIconStyle(AppConfig::instance().get<bool>(AppConfig::ThemeColorsCustomWhiteIcons));
202-
203201
ui->irspath->setText(AppConfig::instance().getIrsPath());
204202
ui->ddcpath->setText(AppConfig::instance().getVdcPath());
205203
ui->liveprog_path->setText(AppConfig::instance().getLiveprogPath());

0 commit comments

Comments
 (0)