mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 15:30:54 +02:00
fixing tablet apps/referenceerror
This commit is contained in:
parent
941df8bc35
commit
941050d42c
2 changed files with 6 additions and 2 deletions
|
@ -26,6 +26,8 @@ FocusScope {
|
|||
height: parent.height
|
||||
|
||||
signal sendToScript(var message);
|
||||
signal canceled();
|
||||
|
||||
property bool isHMD: false
|
||||
property bool gotoPreviousApp: false;
|
||||
|
||||
|
@ -50,7 +52,8 @@ FocusScope {
|
|||
}
|
||||
|
||||
function tryDestroy() {
|
||||
canceled()
|
||||
canceled();
|
||||
root.destroy();
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
|
@ -238,7 +238,8 @@ void Web3DOverlay::setupQmlSurface(bool isTablet, bool isLoginDialog) {
|
|||
|
||||
if (isTablet || isLoginDialog) {
|
||||
_webSurface->getSurfaceContext()->setContextProperty("Account", AccountServicesScriptingInterface::getInstance()); // DEPRECATED - TO BE REMOVED
|
||||
} else if (isTablet) {
|
||||
}
|
||||
if (isTablet) {
|
||||
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
||||
auto flags = tabletScriptingInterface->getFlags();
|
||||
|
||||
|
|
Loading…
Reference in a new issue