diff --git a/src/playlist/playlistmanager.cpp b/src/playlist/playlistmanager.cpp index 7c567ed3d..3bba043ac 100644 --- a/src/playlist/playlistmanager.cpp +++ b/src/playlist/playlistmanager.cpp @@ -207,8 +207,7 @@ void PlaylistManager::Load(const QString &filename) { Playlist *playlist = AddPlaylist(id, info.completeBaseName(), QString(), QString(), false); - QList urls; - playlist->InsertUrls(urls << QUrl::fromLocalFile(filename)); + playlist->InsertUrls(QList() << QUrl::fromLocalFile(filename)); }