Commit 73fb6e5d authored by luyikei's avatar luyikei

PreviewWidget: Fix not showing the correct volume initially

parent b9b1df70
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment