mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
yuzu/configuration/configure_audio: Tidy up function cast
We can just use qOverload here to tidy up the function cast.
This commit is contained in:
parent
d184224e8f
commit
d00ca5c6c8
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ ConfigureAudio::ConfigureAudio(QWidget* parent)
|
||||||
&ConfigureAudio::setVolumeIndicatorText);
|
&ConfigureAudio::setVolumeIndicatorText);
|
||||||
|
|
||||||
this->setConfiguration();
|
this->setConfiguration();
|
||||||
connect(ui->output_sink_combo_box,
|
connect(ui->output_sink_combo_box, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||||
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
|
||||||
&ConfigureAudio::updateAudioDevices);
|
&ConfigureAudio::updateAudioDevices);
|
||||||
|
|
||||||
ui->output_sink_combo_box->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
ui->output_sink_combo_box->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
||||||
|
|
Loading…
Reference in a new issue