Fix Drag and Drop issue at Windows (#723)

This commit is contained in:
Itay Cohen 2018-09-27 10:50:06 +03:00 committed by xarkes
parent 95f4d0fbc4
commit 23757da471

View File

@ -251,7 +251,7 @@ void NewFileDialog::dropEvent(QDropEvent *event)
} }
event->acceptProposedAction(); event->acceptProposedAction();
loadFile(event->mimeData()->urls().first().path()); loadFile(event->mimeData()->urls().first().toLocalFile());
} }
bool NewFileDialog::fillRecentFilesList() bool NewFileDialog::fillRecentFilesList()