Skip to content

Commit fb7fe18

Browse files
immiglitchBathily Mariame
andauthored
Fix local file URL handling when adding files to playlist (#1793)
Co-authored-by: Bathily Mariame <bathilymariame@macbookair.home>
1 parent f364d00 commit fb7fe18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docks/playlistdock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,7 @@ void PlaylistDock::onAddFilesActionTriggered()
21512151
if (filenames.length() > 0) {
21522152
Settings.setOpenPath(QFileInfo(filenames.first()).path());
21532153
for (const auto &s : filenames) {
2154-
urls << s;
2154+
urls << QUrl::fromLocalFile(s);
21552155
}
21562156
mimeData.setUrls(urls);
21572157
auto index = m_proxyModel->mapToSource(m_view->currentIndex());

0 commit comments

Comments
 (0)