summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/wayland/multi-screen/qml/Screen.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/wayland/multi-screen/qml/Screen.qml b/examples/wayland/multi-screen/qml/Screen.qml
index 815140710..21f2d1266 100644
--- a/examples/wayland/multi-screen/qml/Screen.qml
+++ b/examples/wayland/multi-screen/qml/Screen.qml
@@ -48,7 +48,7 @@
**
****************************************************************************/
-import QtQuick 2.0
+import QtQuick 2.8
import QtWayland.Compositor 1.0
import QtQuick.Window 2.3
@@ -95,5 +95,9 @@ WaylandOutput {
visible: mouseTracker.containsMouse
}
}
+ Shortcut {
+ sequence: "Ctrl+Alt+Backspace"
+ onActivated: Qt.quit()
+ }
}
}