Restored download ability and removed extra file types from download options

This commit is contained in:
elisa-lj11 2016-08-31 15:39:29 -07:00
parent 9748a17abe
commit 5c40e9a8f5

View file

@ -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 {