summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSoundPlayer.cpp')
-rw-r--r--Swift/QtUI/QtSoundPlayer.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.cpp b/Swift/QtUI/QtSoundPlayer.cpp
index 5dd3db3..4aa6b8e 100644
--- a/Swift/QtUI/QtSoundPlayer.cpp
+++ b/Swift/QtUI/QtSoundPlayer.cpp
@@ -1,8 +1,12 @@
#include "QtSoundPlayer.h"
+#ifdef Q_WS_X11
+#include "mediaobject.h"
+#include "audiooutput.h"
+#else
#include <phonon/MediaObject>
#include <phonon/AudioOutput>
-
+#endif
namespace Swift{
@@ -33,4 +37,4 @@ void QtSoundPlayer::handleFinished() {
messageReceived_->stop();
}
-} \ No newline at end of file
+}