mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +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();
|
||||
foreach (QUrl url, mimeData->urls()) {
|
||||
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
|
||||
snapshotPath = url.url().remove("file://");
|
||||
snapshotPath = url.toLocalFile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue