]> granicus.if.org Git - taglib/commitdiff
Uhh, no. Once again, TagLib is not part of KDE and is still used by a lot more things
authorScott Wheeler <wheeler@kde.org>
Sun, 15 Oct 2006 17:24:13 +0000 (17:24 +0000)
committerScott Wheeler <wheeler@kde.org>
Sun, 15 Oct 2006 17:24:13 +0000 (17:24 +0000)
than JuK, most of which still use Qt 3.  If you want to fix the defines to check for the version
that's fine.  I'm not too worried about it since the code still works with Qt 4.

CCMAIL:Tim Beaulen <tbscope@gmail.com>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@595794 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/toolkit/tstring.h

index cbadf24f29b5ac49a201123a3b7d8bc337eee8c3..d36498685c629eb0e881b9290ccf273bdeedc521 100644 (file)
@@ -32,7 +32,7 @@
  *
  * Converts a TagLib::String to a QString without a requirement to link to Qt.
  */
-#define QStringToTString(s) TagLib::String(s.toUtf8().data(), TagLib::String::UTF8)
+#define QStringToTString(s) TagLib::String(s.utf8().data(), TagLib::String::UTF8)
 
 /*!
  * \relates TagLib::String