This should fix the double C:/C:/ bug when dropping a file into the editor under Windows, reported by Stony Smith

stl_dim
Marius Kintel 2011-09-27 23:21:30 +02:00
parent 610d7508d9
commit f17d9f0057
1 changed files with 1 additions and 1 deletions

View File

@ -1728,7 +1728,7 @@ void MainWindow::dropEvent(QDropEvent *event)
for (int i = 0; i < urls.size(); i++) {
if (urls[i].scheme() != "file")
continue;
openFile(urls[i].path());
openFile(urls[i].toLocalFile());
}
clearCurrentOutput();
}