重新启用声音

This commit is contained in:
CalciteM 2019-06-23 16:26:17 +08:00
parent 9e5d6feb7d
commit 0ef0b3ecc7
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ void GameController::setSound(bool arg)
void GameController::playSound(const QString &soundPath)
{
#define PLAY_SOUND
#ifdef PLAY_SOUND
if (hasSound) {
QSound::play(soundPath);