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()