summaryrefslogtreecommitdiffstats
path: root/juk/playlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlist.cpp')
-rw-r--r--juk/playlist.cpp4
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;
}