aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/snd
diff options
context:
space:
mode:
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
}