diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 18:32:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-27 19:17:31 +0900 |
commit | 6013ecdd5461270cd2d42bd2d5d78ce364c68c08 (patch) | |
tree | 5dd002f663c2b1578f44c6ce6e9c0075c894bfab /juk/playlist.cpp | |
parent | e5e8e3221561c92ace9e485a3b8778da1e4b5fbb (diff) | |
download | tdemultimedia-6013ecdd5461270cd2d42bd2d5d78ce364c68c08.tar.gz tdemultimedia-6013ecdd5461270cd2d42bd2d5d78ce364c68c08.zip |
Fix FTBFS caused by taglib as a result of the QString -> TQString remaning
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c282724a2111c15cb624429895f0eab81509d935)
Diffstat (limited to 'juk/playlist.cpp')
-rw-r--r-- | juk/playlist.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/juk/playlist.cpp b/juk/playlist.cpp index 02b00259..32caf879 100644 --- a/juk/playlist.cpp +++ b/juk/playlist.cpp @@ -65,6 +65,8 @@ #include "tagtransactionmanager.h" #include "cache.h" +#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true)) + using namespace ActionCollection; /** @@ -2168,7 +2170,7 @@ void Playlist::slotRenameTag() TQStringList genreList; TagLib::StringList genres = TagLib::ID3v1::genreList(); for(TagLib::StringList::ConstIterator it = genres.begin(); it != genres.end(); ++it) - genreList.append(TStringToQString((*it))); + genreList.append(TStringToTQString((*it))); edit->completionObject()->setItems(genreList); break; } |