summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-27 21:21:30 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-27 21:21:30 (GMT)
commitf17d9f0057c0b735f16ae1896850ed18bfca8592 (patch)
tree52ec7c7cf4bec8deea6339b75f2bc4f96a62467a /src/mainwin.cc
parent610d7508d99c5da1754a1d40127fe7743e3cb81e (diff)
This should fix the double C:/C:/ bug when dropping a file into the editor under Windows, reported by Stony Smith
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 56502f2..51e85e7 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();
}
contact: Jan Huwald // Impressum