From f8224c9c9e3dfc1fd4cc3bff915e7e2d1c411d05 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 6 Apr 2017 11:16:55 +0200 Subject: Gallery: handle Menu shortcut on mobile Change-Id: Ie7ad814b3999791801c60776777c6a736db1c093 Reviewed-by: Mitch Curtis --- examples/quickcontrols2/gallery/gallery.qml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples') diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml index c077f6c5..9f253ab3 100644 --- a/examples/quickcontrols2/gallery/gallery.qml +++ b/examples/quickcontrols2/gallery/gallery.qml @@ -76,6 +76,11 @@ ApplicationWindow { } } + Shortcut { + sequence: "Menu" + onActivated: optionsMenu.open() + } + header: ToolBar { Material.foreground: "white" -- cgit v1.2.3