From f17d9f0057c0b735f16ae1896850ed18bfca8592 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 27 Sep 2011 23:21:30 +0200 Subject: [PATCH] This should fix the double C:/C:/ bug when dropping a file into the editor under Windows, reported by Stony Smith --- src/mainwin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwin.cc b/src/mainwin.cc index 56502f23..51e85e7c 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -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(); }