mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +02:00
commit
cc6d70c5ab
1 changed files with 1 additions and 1 deletions
|
@ -1315,7 +1315,7 @@ void Application::dropEvent(QDropEvent *event) {
|
||||||
const QMimeData *mimeData = event->mimeData();
|
const QMimeData *mimeData = event->mimeData();
|
||||||
foreach (QUrl url, mimeData->urls()) {
|
foreach (QUrl url, mimeData->urls()) {
|
||||||
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
|
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
|
||||||
snapshotPath = url.url().remove("file://");
|
snapshotPath = url.toLocalFile();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue