Fix drag&drop files on windows

This commit is contained in:
2022-04-27 21:20:31 +02:00
parent 555e6c11c8
commit 105fba814d
+1 -1
View File
@@ -380,7 +380,7 @@ void ImageWidget::dropEvent(QDropEvent *event)
{ {
if(url.isLocalFile()) if(url.isLocalFile())
{ {
emit fileDropped(url.path()); emit fileDropped(url.toLocalFile());
event->accept(); event->accept();
return; return;
} }