summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-11 16:08:43 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-11 14:18:36 +0000
commit2e8922b144e7308d6895528977b9e94b13b5e902 (patch)
treed368e134d93bc6ae0ae5ed579cd717993a13b07d
parent880475bbe620a533db7b7b744e0b4c98fbf34d1b (diff)
SystemTrayIcon: Fix documentation code snippetv5.9.0-beta2
MenuItem provides signal onTriggered(). Change-Id: Id61aee07d0463bc66a9e50d931a791fc4e0783c2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/imports/platform/qquickplatformsystemtrayicon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/platform/qquickplatformsystemtrayicon.cpp b/src/imports/platform/qquickplatformsystemtrayicon.cpp
index 5e257016..8b5d5f7b 100644
--- a/src/imports/platform/qquickplatformsystemtrayicon.cpp
+++ b/src/imports/platform/qquickplatformsystemtrayicon.cpp
@@ -93,7 +93,7 @@ QT_BEGIN_NAMESPACE
menu: Menu {
MenuItem {
text: qsTr("Quit")
- onActivated: Qt.quit()
+ onTriggered: Qt.quit()
}
}
}