diff options
author | Shawn Rutledge <[email protected]> | 2025-03-07 11:54:13 +0100 |
---|---|---|
committer | Shawn Rutledge <[email protected]> | 2025-03-07 21:27:02 +0100 |
commit | 2fb761e339e490046f0a67c97c42e10994ce8496 (patch) | |
tree | eb23013991fc8b63e6ff9b5e4809d57f6ccd3bc5 | |
parent | cd38ca407654c7b5ebd497185faadd76012fa9a8 (diff) |
Fix "both writable and constant" property in tst_qquickmateriastyle
There was a warning of course:
tst_qquickmaterialstyle.cpp:43:1: warning: Property declaration
platformTheme is both WRITEable and CONSTANT. CONSTANT will be ignored.
Amends b45629207ee32a3d80b6ea6553e8762eec8a86da
Change-Id: I4969acadbc6b5d351695fa097694faad45cb5309
Reviewed-by: MohammadHossein Qanbari <[email protected]>
Reviewed-by: Oliver Eftevaag <[email protected]>
-rw-r--r-- | tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle.cpp b/tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle.cpp index c8d3b5fddd..56e27a27b5 100644 --- a/tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle.cpp +++ b/tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle.cpp @@ -40,7 +40,7 @@ static inline QQuickMaterialStyle::Theme toMaterialTheme(Qt::ColorScheme colorSc class Setup : public QObject { Q_OBJECT - Q_PROPERTY(QQuickMaterialStyle::Theme platformTheme READ platformTheme WRITE setPlatformTheme CONSTANT FINAL) + Q_PROPERTY(QQuickMaterialStyle::Theme platformTheme READ platformTheme WRITE setPlatformTheme FINAL) public slots: void applicationAvailable() |