aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-10-10 15:55:42 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-10-12 07:34:37 +0000
commitf60a0527045479e933b74e3e1a61c6cbfae2c075 (patch)
treee2f457ba278520d1fa0504f6903e239b6cab8076
parent78fa7c11ea79067d819bbcbaa903086eae929015 (diff)
BaseKey: remove enabled property to avoid shadowing Item's
While perhaps not that important for BaseKey, for which child items might not make a whole lot of sense, it shouldn't be necessary to shadow Item's enabled property. Task-number: QTBUG-55754 Change-Id: I6746b55cdda1947006f1d052b613a7e38f01fac2 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/virtualkeyboard/content/components/BaseKey.qml6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/virtualkeyboard/content/components/BaseKey.qml b/src/virtualkeyboard/content/components/BaseKey.qml
index c45efb32..07989e01 100644
--- a/src/virtualkeyboard/content/components/BaseKey.qml
+++ b/src/virtualkeyboard/content/components/BaseKey.qml
@@ -191,12 +191,6 @@ Item {
*/
property bool showPreview: enabled && !functionKey && !keyboard.navigationModeActive
- /*! Sets the enabled attribute.
-
- The default is true.
- */
- property bool enabled: true
-
/*! This property holds the pressed status of the key.
The pressed status can only be true if the key is both enabled and active.