Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.2
-
None
-
f0f66c1aa001c630a6b246e312bef7f8e83958d2
Description
import QtQuick 2.6 import QtQuick.Window 2.2 import Qt.labs.platform 1.0 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") SystemTrayIcon { id: _systray visible: true tooltip: "Hiri" onActivated: { console.log(reason); } menu: Menu { id: _systrayMenu MenuItem { text: qsTr("Quit") onTriggered: { Qt.quit() } } } } }
Activated signal is supposed to have reason argument but it always returns undefined.
https://doc.qt.io/qt-5/qml-qt-labs-platform-systemtrayicon.html#activated-signal
This was on Windows 10 running official Qt 5.9.2 x86.