mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-11 05:31:58 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into yellow
This commit is contained in:
commit
c8663f7fe6
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.0
|
||||
import QtWebEngine 1.5
|
||||
import "../../controls" as Controls
|
||||
import "../../../controls" as Controls
|
||||
|
||||
Controls.TabletWebView {
|
||||
profile: WebEngineProfile { httpUserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"}
|
||||
|
|
|
@ -279,6 +279,7 @@ public:
|
|||
* @param {string} [injectedJavaScriptUrl=""] - The URL of JavaScript to inject into the web page.
|
||||
* @param {boolean} [loadOtherBase=false] - If <code>true</code>, the web page or app is displayed in a frame with "back"
|
||||
* and "close" buttons.
|
||||
* <p class="important">Deprecated: This parameter is deprecated and will be removed.</p>
|
||||
*/
|
||||
Q_INVOKABLE void gotoWebScreen(const QString& url);
|
||||
Q_INVOKABLE void gotoWebScreen(const QString& url, const QString& injectedJavaScriptUrl, bool loadOtherBase = false);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
function onClicked() {
|
||||
if (!shown) {
|
||||
tablet.gotoWebScreen(APP_URL, "", true);
|
||||
tablet.gotoWebScreen(APP_URL, "");
|
||||
} else {
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue