Fix drag&drop files on windows
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user