Commit 4746e5aa authored by Scott Wheeler's avatar Scott Wheeler

Don't use latin1-only playlist names. This was easier than I expected (Oh,

and thanks Maks for spotting this in the code.).

CCMAIL:59752-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=231268
parent af441659
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
// PlaylistBox public methods // PlaylistBox public methods
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
PlaylistBox::PlaylistBox(PlaylistSplitter *parent, const char *name) : PlaylistBox::PlaylistBox(PlaylistSplitter *parent, const QString &name) :
KListView(parent, name), KListView(parent, name.latin1()),
m_splitter(parent), m_splitter(parent),
m_updatePlaylistStack(true), m_updatePlaylistStack(true),
m_viewModeIndex(0), m_viewModeIndex(0),
......
...@@ -43,7 +43,7 @@ class PlaylistBox : public KListView ...@@ -43,7 +43,7 @@ class PlaylistBox : public KListView
Q_OBJECT Q_OBJECT
public: public:
PlaylistBox(PlaylistSplitter *parent = 0, const char *name = 0); PlaylistBox(PlaylistSplitter *parent = 0, const QString &name = QString::null);
virtual ~PlaylistBox(); virtual ~PlaylistBox();
void createItem(Playlist *playlist, const char *icon = 0, void createItem(Playlist *playlist, const char *icon = 0,
......
...@@ -253,7 +253,7 @@ void PlaylistSplitter::open(const QStringList &files) ...@@ -253,7 +253,7 @@ void PlaylistSplitter::open(const QStringList &files)
Playlist *PlaylistSplitter::createPlaylist(const QString &name) Playlist *PlaylistSplitter::createPlaylist(const QString &name)
{ {
Playlist *p = new Playlist(m_playlistStack, name.latin1()); Playlist *p = new Playlist(m_playlistStack, name);
setupPlaylist(p, true); setupPlaylist(p, true);
return p; return p;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment