From 27f5efb8952c61afce97eab3e05e20aaf8402c0e Mon Sep 17 00:00:00 2001 From: BogDan Vatra Date: Fri, 3 Oct 2014 10:45:21 +0300 Subject: 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 --- src/widgets/styles/qandroidstyle.cpp | 2 -- 1 file changed, 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) -- cgit v1.2.3