Fix volume control

fix #1528
This commit is contained in:
Fabio Bas
2015-09-28 12:24:22 +02:00
parent d55e44ea60
commit a9f2cd73de
+1 -1
View File
@@ -89,7 +89,7 @@ void SoundEngine::playSound(QString fileName)
inputBuffer->setData(audioData[fileName]);
inputBuffer->open(QIODevice::ReadOnly);
#if QT_VERSION >= 0x050000
player->setVolume(settingsCache->getMasterVolume());
player->setVolume(settingsCache->getMasterVolume() / 100.0);
#endif
player->stop();
player->start(inputBuffer);