diff options
| author | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2025-03-31 13:15:33 +0200 |
|---|---|---|
| committer | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2025-04-03 22:46:06 +0200 |
| commit | 72f969ab54b80b7821ceb80ee09e2d284d081302 (patch) | |
| tree | 46b92bb2a03c0ff5c448968ab2fe8bd6c4688a8e /examples/quickcontrols | |
| parent | c4040fe40c49134b41eb4252b1806a8063301108 (diff) | |
Gallery Example: Fix Shortcut.sequence warning
Since StandardKey.HelpContents has two key bindings (at least on ubuntu)
then setting `sequences` removes the warning.
Change-Id: If4fb733fe562f1fc56af0d53ae029fa3bd32c0e0
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'examples/quickcontrols')
| -rw-r--r-- | examples/quickcontrols/gallery/gallery.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols/gallery/gallery.qml b/examples/quickcontrols/gallery/gallery.qml index 841ab6d6dd..c352c2c8e0 100644 --- a/examples/quickcontrols/gallery/gallery.qml +++ b/examples/quickcontrols/gallery/gallery.qml @@ -46,7 +46,7 @@ ApplicationWindow { } Shortcut { - sequence: StandardKey.HelpContents + sequences: [StandardKey.HelpContents] onActivated: window.help() } |
