Skip to content

Commit

Permalink
Update main.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodivece authored Dec 28, 2017
1 parent 2ad5e23 commit 22a26cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 2017-12-23-rpi-yocto-rocko/nanoweb/main.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.7
import QtQuick.Window 2.2
import QtQuick.VirtualKeyboard 2.1
import QtWebEngine 1.0
import QtWebEngine 1.2

Window {
id: mainWindow
Expand All @@ -14,6 +14,11 @@ Window {
webEngineView.url = url;
}

Shortcut {
sequence: "Alt+F4"
onActivated: Qt.quit()
}

Item {
id: appContainer
width: Screen.width < Screen.height ? parent.height : parent.width
Expand Down

0 comments on commit 22a26cc

Please sign in to comment.