From: Scott Wheeler Date: Sun, 15 Oct 2006 17:24:13 +0000 (+0000) Subject: Uhh, no. Once again, TagLib is not part of KDE and is still used by a lot more things X-Git-Tag: v1.5~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0addb15e1f081403a80d8b253000a07463cd78b;p=taglib Uhh, no. Once again, TagLib is not part of KDE and is still used by a lot more things 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 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@595794 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/taglib/toolkit/tstring.h b/taglib/toolkit/tstring.h index cbadf24f..d3649868 100644 --- a/taglib/toolkit/tstring.h +++ b/taglib/toolkit/tstring.h @@ -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