aboutsummaryrefslogtreecommitdiff
path: root/aosfxplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'aosfxplayer.h')
-rw-r--r--aosfxplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/aosfxplayer.h b/aosfxplayer.h
index 4494b3e9..ab398e0c 100644
--- a/aosfxplayer.h
+++ b/aosfxplayer.h
@@ -6,7 +6,7 @@
#include <QWidget>
#include <string.h>
#include <QDebug>
-#include <QMediaPlayer>
+#include <QSoundEffect>
class AOSfxPlayer
{
@@ -21,7 +21,7 @@ public:
private:
QWidget *m_parent;
AOApplication *ao_app;
- QMediaPlayer *m_sfxplayer;
+ QSoundEffect *m_sfxplayer;
int m_volume = 0;
};