diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-26 12:39:46 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-26 14:11:05 +0100 |
commit | 782da4c2a05da0d5774bf75bdae0190b3d6c51f1 (patch) | |
tree | 4cbeeecb7cea2b638f067ce18818b1df83316ac0 | |
parent | 5c817bcfcdfb538d9e71ee8d7a71ad793842e43c (diff) | |
download | qtquickcontrols-782da4c2a05da0d5774bf75bdae0190b3d6c51f1.tar.gz |
Fix warnings about providing function for DESIGNABLE in property declaration
Set them to be designable by default, fixing:
qquickaction_p.h:65: Warning: Providing a function for DESIGNABLE in a property declaration is deprecated and will not be supported in Qt 6 anymore.
Change-Id: I411f71062d78facb5a8ed311d324cbbf083e2efd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | src/controls/qquickaction_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/qquickaction_p.h b/src/controls/qquickaction_p.h index 711669e5..97601a32 100644 --- a/src/controls/qquickaction_p.h +++ b/src/controls/qquickaction_p.h @@ -62,7 +62,7 @@ class QQuickAction1 : public QObject Q_PROPERTY(QString tooltip READ tooltip WRITE setTooltip NOTIFY tooltipChanged RESET resetTooltip) Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged) Q_PROPERTY(bool checkable READ isCheckable WRITE setCheckable NOTIFY checkableChanged) - Q_PROPERTY(bool checked READ isChecked WRITE setChecked DESIGNABLE isCheckable NOTIFY toggled) + Q_PROPERTY(bool checked READ isChecked WRITE setChecked NOTIFY toggled) Q_PROPERTY(QQuickExclusiveGroup1 *exclusiveGroup READ exclusiveGroup WRITE setExclusiveGroup NOTIFY exclusiveGroupChanged) #ifndef QT_NO_SHORTCUT |