[vlmc-devel] PreviewWidget: Fix not showing the correct volume initially
Yikai Lu
git at videolan.org
Wed Mar 8 05:11:14 CET 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Mar 7 22:11:02 2017 -0600| [73fb6e5d6c80d934250278f827497b221443395e] | committer: Yikai Lu
PreviewWidget: Fix not showing the correct volume initially
> https://code.videolan.org/videolan/vlmc/commit/73fb6e5d6c80d934250278f827497b221443395e
---
src/Gui/preview/PreviewWidget.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
index 2251b97..34f2082 100644
--- a/src/Gui/preview/PreviewWidget.cpp
+++ b/src/Gui/preview/PreviewWidget.cpp
@@ -99,6 +99,7 @@ PreviewWidget::setRenderer( AbstractRenderer* renderer )
this, SLOT( updateVolume( int ) ) );
connect( m_ui->volumeSlider, SIGNAL( sliderMoved( int ) ),
this, SLOT( updateVolume( int ) ) );
+ m_ui->volumeSlider->setValue( m_renderer->getVolume() );
}
void
More information about the Vlmc-devel
mailing list