Fix drag&drop files on windows
This commit is contained in:
@@ -380,7 +380,7 @@ void ImageWidget::dropEvent(QDropEvent *event)
|
||||
{
|
||||
if(url.isLocalFile())
|
||||
{
|
||||
emit fileDropped(url.path());
|
||||
emit fileDropped(url.toLocalFile());
|
||||
event->accept();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user