mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-19 20:28:52 +01:00
Simplify code
This commit is contained in:
parent
89572b07fb
commit
9ed184edbf
@ -207,8 +207,7 @@ void PlaylistManager::Load(const QString &filename) {
|
||||
|
||||
Playlist *playlist = AddPlaylist(id, info.completeBaseName(), QString(), QString(), false);
|
||||
|
||||
QList<QUrl> urls;
|
||||
playlist->InsertUrls(urls << QUrl::fromLocalFile(filename));
|
||||
playlist->InsertUrls(QList<QUrl>() << QUrl::fromLocalFile(filename));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user