mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Removing cruft and warnings
This commit is contained in:
parent
371105d0c4
commit
969d16262f
1 changed files with 1 additions and 6 deletions
|
@ -56,7 +56,6 @@
|
|||
presentationMode: Desktop.PresentationMode.NATIVE,
|
||||
size: {x: 400, y: 600}
|
||||
});
|
||||
// window.setPosition(200, 50);
|
||||
window.closed.connect(killWindow);
|
||||
window.fromQml.connect(fromQml);
|
||||
onScreen = true
|
||||
|
@ -94,11 +93,7 @@
|
|||
|
||||
function onScreenChanged(type, url) {
|
||||
if (onTablet) {
|
||||
if (url === QMLAPP_URL) {
|
||||
onAppScreen = true;
|
||||
} else {
|
||||
onAppScreen = false;
|
||||
}
|
||||
onAppScreen = (url === QMLAPP_URL);
|
||||
|
||||
button.editProperties({isActive: onAppScreen});
|
||||
wireEventBridge(onAppScreen);
|
||||
|
|
Loading…
Reference in a new issue