summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2014-10-03 10:45:21 +0300
committerBogDan Vatra <bogdan@kde.org>2014-10-03 13:55:57 +0200
commit27f5efb8952c61afce97eab3e05e20aaf8402c0e (patch)
tree93135f9b8416b5bfe601709c1e449aacf82808c6 /src/widgets/styles
parentc171a21ae4913d4e6cd8d88a8b23474895336829 (diff)
Fix the text field alignment.
All Android styled controls must use AndroidControl methods. Task-number: QTBUG-41722 Change-Id: I594829bfed8468888738b39450fe94af35f14d7a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/widgets/styles')
-rw-r--r--src/widgets/styles/qandroidstyle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/widgets/styles/qandroidstyle.cpp b/src/widgets/styles/qandroidstyle.cpp
index eb688e3c46..38c7497ffa 100644
--- a/src/widgets/styles/qandroidstyle.cpp
+++ b/src/widgets/styles/qandroidstyle.cpp
@@ -624,8 +624,6 @@ QRect QAndroidStyle::subElementRect(SubElement subElement,
const QStyleOption *option,
const QWidget *widget) const
{
- if (subElement == SE_LineEditContents) // fix spinbox display problem
- return QFusionStyle::subElementRect(subElement, option, widget);
const ItemType itemType = qtControl(subElement);
AndroidControlsHash::const_iterator it = itemType != QC_UnknownType
? m_androidControlsHash.find(itemType)