X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=mainwindow.cpp;h=b7510debe560f0d7d3c4079e6d4063a1c8d40168;hp=537f8810acad38c26d4fdba0e3d3a2e60a08358a;hb=fbd6331cd86ae938b50bd968af6690037e251c04;hpb=56ebeafc49f5e8786adde7365cce2249ae7980f4 diff --git a/mainwindow.cpp b/mainwindow.cpp index 537f881..b7510de 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -499,7 +499,7 @@ void MainWindow::setup_audio_expanded_view() update_eq_label(bus_index, EQ_BAND_MID, global_audio_mixer->get_eq(bus_index, EQ_BAND_MID)); update_eq_label(bus_index, EQ_BAND_BASS, global_audio_mixer->get_eq(bus_index, EQ_BAND_BASS)); ui_audio_expanded_view->fader->setDbValue(global_audio_mixer->get_fader_volume(bus_index)); - ui_audio_expanded_view->mute_button->setChecked(global_audio_mixer->get_mute(bus_index) ? Qt::Checked : Qt::Unchecked); + ui_audio_expanded_view->mute_button->setChecked(global_audio_mixer->get_mute(bus_index)); connect(ui_audio_expanded_view->mute_button, &QPushButton::toggled, bind(&MainWindow::mute_button_toggled, this, bus_index, _1)); ui->buses->addWidget(channel);