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 1b73e490..ab9fd979 100644
--- a/aosfxplayer.h
+++ b/aosfxplayer.h
@@ -6,7 +6,7 @@
#include <QWidget>
#include <string.h>
#include <QDebug>
-#include <QSoundEffect>
+#include <QMediaPlayer>
class AOSfxPlayer
{
@@ -21,7 +21,7 @@ public:
private:
QWidget *m_parent;
AOApplication *ao_app;
- QSoundEffect *m_sfxplayer;
+ QMediaPlayer *m_sfxplayer;
int m_volume = 0;
};