Utils: Fix painting artifacts of FancyLineEdit on StyledBar

Don't enforce a premature polishing by the style.

Fixes: QTCREATORBUG-27510
Change-Id: I1598a75741c5990567a33ad8376144432894597a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2023-04-18 17:49:52 +02:00
parent 6e8988c926
commit dd5eed0b35

View File

@@ -172,7 +172,6 @@ FancyLineEdit::FancyLineEdit(QWidget *parent) :
CompletingLineEdit(parent), CompletingLineEdit(parent),
d(new FancyLineEditPrivate(this)) d(new FancyLineEditPrivate(this))
{ {
ensurePolished();
updateMargins(); updateMargins();
connect(d->m_iconbutton[Left], &QAbstractButton::clicked, this, [this] { connect(d->m_iconbutton[Left], &QAbstractButton::clicked, this, [this] {