summaryrefslogtreecommitdiff
path: root/src/controls/qquickmenuitem_p.h
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-03-10 15:23:53 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 14:32:54 +0100
commitbfaba2f3b81f70e1c26269084a961bf0d2560990 (patch)
tree13686739eea9a65524eef98a488bfa6f3d6b53a9 /src/controls/qquickmenuitem_p.h
parentde35432376a215587e05b4817f2a1ddc7ac221fa (diff)
downloadqtquickcontrols-bfaba2f3b81f70e1c26269084a961bf0d2560990.tar.gz
MenuItem: Update platform menu item when checkable changes
This is required to inform the platform backend to change the menu item's appearance. Change-Id: I326ac2d79b4f9e7646c2c01b7f41662310736b18 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/qquickmenuitem_p.h')
-rw-r--r--src/controls/qquickmenuitem_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/qquickmenuitem_p.h b/src/controls/qquickmenuitem_p.h
index a2e74d7f..bb1686f7 100644
--- a/src/controls/qquickmenuitem_p.h
+++ b/src/controls/qquickmenuitem_p.h
@@ -225,6 +225,7 @@ public:
protected Q_SLOTS:
void updateShortcut();
+ void updateCheckable();
void updateChecked();
void bindToAction(QQuickAction *action);
void unbindFromAction(QObject *action);