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.
This commit is contained in:
Lioncash 2018-10-02 20:17:14 -04:00 committed by fearlessTobi
parent 2a612f7bd4
commit be534b9388
2 changed files with 25 additions and 11 deletions

View file

@ -26,6 +26,8 @@ public slots:
private:
void setConfiguration();
void setOutputSinkFromSinkID();
void setAudioDeviceFromDeviceID();
void setVolumeIndicatorText(int percentage);
std::unique_ptr<Ui::ConfigureAudio> ui;