Skip to content

Commit

Permalink
SettingsFragment::MenuEditor: apply icon colors correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Dec 30, 2021
1 parent bd4f504 commit cbf6d6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/interface/fragment/SettingsFragment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ SettingsFragment::SettingsFragment(TrayIcon *trayIcon,
ui->setupUi(this);

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

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

ui->menu_edit->setTargetMenu(_trayIcon->getTrayMenu());
ui->menu_edit->setIconStyle(AppConfig::instance().get<bool>(AppConfig::ThemeColorsCustomWhiteIcons));

ui->irspath->setText(AppConfig::instance().getIrsPath());
ui->ddcpath->setText(AppConfig::instance().getVdcPath());
ui->liveprog_path->setText(AppConfig::instance().getLiveprogPath());
Expand Down

0 comments on commit cbf6d6d

Please sign in to comment.