Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(avform): initialize slider value from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
antis81 committed Jul 20, 2016
1 parent da94b4b commit c9dbfa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widget/form/settings/avform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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."));
Expand All @@ -65,6 66,7 @@ AVForm::AVForm()
});

playbackSlider->setTracking(false);
playbackSlider->setValue(s.getOutVolume());
playbackSlider->installEventFilter(this);

microphoneSlider->setToolTip(
Expand Down

0 comments on commit c9dbfa5

Please sign in to comment.