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/tageditor.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/tageditor.cpp')
-rw-r--r-- | juk/tageditor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/juk/tageditor.cpp b/juk/tageditor.cpp index 7862be71..c0b0a183 100644 --- a/juk/tageditor.cpp +++ b/juk/tageditor.cpp @@ -44,6 +44,8 @@ #undef KeyRelease +#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true)) + using namespace ActionCollection; class FileNameValidator : public TQValidator @@ -403,7 +405,7 @@ void TagEditor::updateCollection() TagLib::StringList genres = TagLib::ID3v1::genreList(); for(TagLib::StringList::ConstIterator it = genres.begin(); it != genres.end(); ++it) - genreHash.insert(TStringToQString((*it))); + genreHash.insert(TStringToTQString((*it))); m_genreList = genreHash.values(); m_genreList.sort(); @@ -436,7 +438,7 @@ void TagEditor::readConfig() TagLib::StringList genres = TagLib::ID3v1::genreList(); for(TagLib::StringList::ConstIterator it = genres.begin(); it != genres.end(); ++it) - m_genreList.append(TStringToQString((*it))); + m_genreList.append(TStringToTQString((*it))); m_genreList.sort(); m_genreBox->clear(); |