mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +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 {
|
||||
|
|
Loading…
Reference in a new issue