diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-19 17:10:55 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-19 17:10:58 +0200 |
commit | d00ca5c6c80ce6a418c0aa654350532f6d28fabc (patch) | |
tree | 07a9317441d397eb562e3d44f46480704f6f0252 | |
parent | yuzu/configuration/configure_audio: Specify string conversions explicitly (diff) | |
download | yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar.gz yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar.bz2 yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar.lz yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar.xz yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.tar.zst yuzu-d00ca5c6c80ce6a418c0aa654350532f6d28fabc.zip |
-rw-r--r-- | src/yuzu/configuration/configure_audio.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_audio.cpp b/src/yuzu/configuration/configure_audio.cpp index a407011f0..e68309bb2 100644 --- a/src/yuzu/configuration/configure_audio.cpp +++ b/src/yuzu/configuration/configure_audio.cpp @@ -25,8 +25,7 @@ ConfigureAudio::ConfigureAudio(QWidget* parent) &ConfigureAudio::setVolumeIndicatorText); this->setConfiguration(); - connect(ui->output_sink_combo_box, - static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, + connect(ui->output_sink_combo_box, qOverload<int>(&QComboBox::currentIndexChanged), this, &ConfigureAudio::updateAudioDevices); ui->output_sink_combo_box->setEnabled(!Core::System::GetInstance().IsPoweredOn()); |