aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/snd
diff options
context:
space:
mode:
authorGravatar wodim2016-04-07 13:00:54 +0200
committerGravatar wodim2016-04-07 13:00:54 +0200
commit22ca84d4d22ed7e39c626981e5ae85e9287c3edb (patch)
tree5bf35583a38fadbcef5ddd37705618b1e79f67af /src/modules/snd
parentFix #1921 (diff)
downloadKVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.gz
KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.bz2
KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.zip
Remove all ifdefs related to older versions of Qt.
Now that we only support Qt 5 we will no longer need these.
Diffstat (limited to 'src/modules/snd')
-rw-r--r--src/modules/snd/libkvisnd.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/modules/snd/libkvisnd.cpp b/src/modules/snd/libkvisnd.cpp
index fb0f3f383..ff0779868 100644
--- a/src/modules/snd/libkvisnd.cpp
+++ b/src/modules/snd/libkvisnd.cpp
@@ -239,18 +239,8 @@ void KviSoundPlayer::detectSoundSystem()
KVI_OPTION_STRING(KviOption_stringSoundSystem) = "oss";
#endif
-#if (QT_VERSION < 0x050000)
- if(QSound::isAvailable())
-#else
- // on qt5 QSound::isAvailable() is not available anymore
- // Note: consider the use of QMediaPlayer
- if(true)
-#endif
- {
- KVI_OPTION_STRING(KviOption_stringSoundSystem) = "qt";
- return;
- }
- KVI_OPTION_STRING(KviOption_stringSoundSystem) = "null";
+ KVI_OPTION_STRING(KviOption_stringSoundSystem) = "qt";
+ return;
#endif
}