1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-19 20:28:52 +01:00

Simplify code

This commit is contained in:
Jonas Kvinge 2021-02-06 00:32:01 +01:00
parent 89572b07fb
commit 9ed184edbf

View File

@ -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));
}