diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-27 21:21:30 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-27 21:21:30 (GMT) |
commit | f17d9f0057c0b735f16ae1896850ed18bfca8592 (patch) | |
tree | 52ec7c7cf4bec8deea6339b75f2bc4f96a62467a | |
parent | 610d7508d99c5da1754a1d40127fe7743e3cb81e (diff) |
This should fix the double C:/C:/ bug when dropping a file into the editor under Windows, reported by Stony Smith
-rw-r--r-- | src/mainwin.cc | 2 |
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(); } |