mirror of
https://github.com/overte-org/overte.git
synced 2025-06-20 21:00:06 +02:00
Add handling for opening an .svo using interface
This commit is contained in:
parent
c3c2a75f48
commit
0048b91311
1 changed files with 4 additions and 0 deletions
|
@ -1457,6 +1457,10 @@ void Application::dropEvent(QDropEvent *event) {
|
||||||
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
|
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
|
||||||
snapshotPath = url.toLocalFile();
|
snapshotPath = url.toLocalFile();
|
||||||
break;
|
break;
|
||||||
|
} else if (url.url().toLower().endsWith(SVO_EXTENSION)) {
|
||||||
|
emit svoImportRequested(url.url());
|
||||||
|
event->acceptProposedAction();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue