From 3a1d202363df5a6d5c5e2148736ec0308aed5d7e Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sat, 15 Sep 2018 01:37:11 +0200 Subject: Revert "`QMediaPlayer` instead of `QSoundEffect` for SFX and blips." This reverts commit 1124d6b073546bacd58bce640bbcc08db4f8b341. --- aosfxplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aosfxplayer.h') diff --git a/aosfxplayer.h b/aosfxplayer.h index 4494b3e9..ab398e0c 100644 --- a/aosfxplayer.h +++ b/aosfxplayer.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include class AOSfxPlayer { @@ -21,7 +21,7 @@ public: private: QWidget *m_parent; AOApplication *ao_app; - QMediaPlayer *m_sfxplayer; + QSoundEffect *m_sfxplayer; int m_volume = 0; }; -- cgit