From 1c7c798e9e3c4d826624b9e1f8932f3eba64a587 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 2 Oct 2018 20:17:14 -0400 Subject: configure_audio: Move combo box index setting to their own functions Keeps the individual behaviors in their own functions, and cleanly separate. We can also do a little better by converting the relevant IDs within the core to a QString only once, instead of converting every string into a std::string. --- src/yuzu/configuration/configure_audio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/yuzu/configuration/configure_audio.h') diff --git a/src/yuzu/configuration/configure_audio.h b/src/yuzu/configuration/configure_audio.h index 069e79d56..207f9dfb3 100644 --- a/src/yuzu/configuration/configure_audio.h +++ b/src/yuzu/configuration/configure_audio.h @@ -26,6 +26,8 @@ public slots: private: void setConfiguration(); + void setOutputSinkFromSinkID(); + void setAudioDeviceFromDeviceID(); void setVolumeIndicatorText(int percentage); std::unique_ptr ui; -- cgit v1.2.3