mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(avform): initialize slider value from settings
This commit is contained in:
parent
da94b4b83f
commit
c9dbfa5eac
|
@ -47,6 +47,7 @@ AVForm::AVForm()
|
|||
setupUi(this);
|
||||
|
||||
const Audio& audio = Audio::getInstance();
|
||||
const Settings& s = Settings::getInstance();
|
||||
|
||||
btnPlayTestSound->setToolTip(
|
||||
tr("Play a test sound while changing the output volume."));
|
||||
|
@ -65,6 +66,7 @@ AVForm::AVForm()
|
|||
});
|
||||
|
||||
playbackSlider->setTracking(false);
|
||||
playbackSlider->setValue(s.getOutVolume());
|
||||
playbackSlider->installEventFilter(this);
|
||||
|
||||
microphoneSlider->setToolTip(
|
||||
|
|
Loading…
Reference in New Issue
Block a user