From 23757da4716e59e175dee20d1d8f45d540da8fb1 Mon Sep 17 00:00:00 2001 From: Itay Cohen Date: Thu, 27 Sep 2018 10:50:06 +0300 Subject: [PATCH] Fix Drag and Drop issue at Windows (#723) --- src/dialogs/NewFileDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/NewFileDialog.cpp b/src/dialogs/NewFileDialog.cpp index 18409a70..510771eb 100644 --- a/src/dialogs/NewFileDialog.cpp +++ b/src/dialogs/NewFileDialog.cpp @@ -251,7 +251,7 @@ void NewFileDialog::dropEvent(QDropEvent *event) } event->acceptProposedAction(); - loadFile(event->mimeData()->urls().first().path()); + loadFile(event->mimeData()->urls().first().toLocalFile()); } bool NewFileDialog::fillRecentFilesList()