diff options
author | Michele Calgaro <[email protected]> | 2023-09-26 18:32:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-27 11:21:35 +0900 |
commit | c282724a2111c15cb624429895f0eab81509d935 (patch) | |
tree | bb4d3b2e0546327d68bc72f8031fc8e0ac015abc /juk/playlist.cpp | |
parent | 938578ffc3e80f59646041c2483985f1d70692f6 (diff) | |
download | tdemultimedia-c282724a2111c15cb624429895f0eab81509d935.tar.gz tdemultimedia-c282724a2111c15cb624429895f0eab81509d935.zip |
Fix FTBFS caused by taglib as a result of the QString -> TQString remaning
Signed-off-by: Michele Calgaro <[email protected]>
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; } |