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
1 changed files with 1 additions and 1 deletions

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;