Skip to content

QAction: Add NOTIFY changed declaration to priority property

It already emits the signal and was merely missing the declaration.

This fixes warnings about depending on non-NOTIFYable properties when binding to the priority property from QML.


https://codereview.qt-project.org/c/qt/qtbase/+/400749

Was rejected upstream for 5.15 because of

as that branch is in very strict mode at that point, and QAction still lives in widgets - so quite unlikely that anyone would use it from QML anyway.

It's useful and prompted by this warning caused by systemtray

Merge request reports

Loading