mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-19 04:50:16 +01:00
Fix the "add media" dialog on windows
This commit is contained in:
parent
f8d68d3956
commit
5a7437ddd6
@ -887,7 +887,7 @@ void MainWindow::AddMedia() {
|
||||
const SongList& songs = parser.Parse();
|
||||
playlist_->InsertSongs(songs);
|
||||
} else {
|
||||
QUrl url(path);
|
||||
QUrl url(QUrl::fromLocalFile(path));
|
||||
if (url.scheme().isEmpty())
|
||||
url.setScheme("file");
|
||||
urls << url;
|
||||
|
Loading…
Reference in New Issue
Block a user