1
0
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:
Nils Fenner 2016-07-14 10:55:30 +02:00
parent da94b4b83f
commit c9dbfa5eac
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C

View File

@ -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(