1
0
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:
David Sansome 2010-05-01 13:49:07 +00:00
parent f8d68d3956
commit 5a7437ddd6

View File

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