diff options
| author | 2016-04-07 13:00:54 +0200 | |
|---|---|---|
| committer | 2016-04-07 13:00:54 +0200 | |
| commit | 22ca84d4d22ed7e39c626981e5ae85e9287c3edb (patch) | |
| tree | 5bf35583a38fadbcef5ddd37705618b1e79f67af /src/modules/snd | |
| parent | Fix #1921 (diff) | |
| download | KVIrc-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.cpp | 14 |
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 } |
