Set the volume on the audio engine after it's finished loading.

Fixes issue #40
This commit is contained in:
David Sansome 2010-02-27 16:47:31 +00:00
parent cf2a8e73e2
commit c5b1e2a0e3
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ void Player::EngineInitFinished() {
connect(engine_, SIGNAL(metaData(Engine::SimpleMetaBundle)),
SLOT(EngineMetadataReceived(Engine::SimpleMetaBundle)));
engine_->setVolume(settings_.value("volume", 50).toInt());
emit InitFinished();
}