forked from qt-creator/qt-creator
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:
@@ -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] {
|
||||||
|
Reference in New Issue
Block a user