]> granicus.if.org Git - taglib/commitdiff
use QT_VERSION_CHECK correctly
authorAndré Wöbbeking <woebbeking@kde.org>
Sat, 2 Feb 2008 13:19:35 +0000 (13:19 +0000)
committerAndré Wöbbeking <woebbeking@kde.org>
Sat, 2 Feb 2008 13:19:35 +0000 (13:19 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/toolkit/tstring.h

index a193e8e1874a48afd8dc44aeaf1fe2ad8e7c1712..209873b40aad29128b9f8b01ad7866054c3bd476 100644 (file)
@@ -49,7 +49,7 @@
 
 
 #if defined(QT_VERSION_CHECK)
-# if QT_VERSION_CHECK(4, 0, 0)
+# if (QT_VERSION >= QT_VERSION_CHECK(4, 0, 0))
 #  undef QStringToTSTring
 #  undef TStringToQString
 #  define QStringToTString(s) TagLib::String(s.toStdWString())