Removing cruft and warnings

This commit is contained in:
Sam Gateau 2018-08-30 22:20:30 -07:00
parent 371105d0c4
commit 969d16262f

View file

@ -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);