summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtSoundPlayer.cpp4
-rw-r--r--Swift/QtUI/QtSoundPlayer.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/Swift/QtUI/QtSoundPlayer.cpp b/Swift/QtUI/QtSoundPlayer.cpp
index 9860bc2..7fd6564 100644
--- a/Swift/QtUI/QtSoundPlayer.cpp
+++ b/Swift/QtUI/QtSoundPlayer.cpp
@@ -34,8 +34,4 @@ void QtSoundPlayer::playSound(const String& soundResource) {
}
}
-bool QtSoundPlayer::isAvailable() const {
- return QSound::isAvailable();
-}
-
}
diff --git a/Swift/QtUI/QtSoundPlayer.h b/Swift/QtUI/QtSoundPlayer.h
index da6fdda..21ad8bb 100644
--- a/Swift/QtUI/QtSoundPlayer.h
+++ b/Swift/QtUI/QtSoundPlayer.h
@@ -20,7 +20,6 @@ namespace Swift {
QtSoundPlayer(ApplicationPathProvider* applicationPathProvider);
void playSound(SoundEffect sound);
- bool isAvailable() const;
private:
void playSound(const String& soundResource);