summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSoundPlayer.cpp')
-rw-r--r--Swift/QtUI/QtSoundPlayer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.cpp b/Swift/QtUI/QtSoundPlayer.cpp
index 7fd6564..9860bc2 100644
--- a/Swift/QtUI/QtSoundPlayer.cpp
+++ b/Swift/QtUI/QtSoundPlayer.cpp
@@ -34,4 +34,8 @@ void QtSoundPlayer::playSound(const String& soundResource) {
}
}
+bool QtSoundPlayer::isAvailable() const {
+ return QSound::isAvailable();
+}
+
}