mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 21:45:04 +02:00
Restored download ability and removed extra file types from download options
This commit is contained in:
parent
9748a17abe
commit
5c40e9a8f5
1 changed files with 13 additions and 0 deletions
|
@ -73,6 +73,19 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onNewViewRequested: {
|
||||||
|
var component = Qt.createComponent("Browser.qml");
|
||||||
|
var newWindow = component.createObject(desktop);
|
||||||
|
request.openIn(newWindow.webView);
|
||||||
|
if (File.isZippedFbx(desktop.currentUrl)) {
|
||||||
|
zipTimer.handler = function() {
|
||||||
|
newWindow.destroy();
|
||||||
|
runJavaScript(autoCancel);
|
||||||
|
}
|
||||||
|
zipTimer.start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
Loading…
Reference in a new issue