summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-21 08:23:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-21 08:24:00 (GMT)
commit7fd66adfe9f3a92cd55e70b7478432d1f9030c4b (patch)
treeeeb3fa95211c61f9e46572693df82aa1529da55d /Swift/QtUI
parentbbb8227780c0faff81cab2ff91f4418c04b72ad1 (diff)
downloadswift-contrib-7fd66adfe9f3a92cd55e70b7478432d1f9030c4b.zip
swift-contrib-7fd66adfe9f3a92cd55e70b7478432d1f9030c4b.tar.bz2
Revert "Added SoundPlayer::isAvailable."
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);