forked from qt-creator/qt-creator
Utils: Use Theme default "ok" and "error" colors for FancyLineEdit
...and remove the redundant setter calls elsewhere. Change-Id: Iec71fe1bff7f8c9dd72bf3c3e643a4ed01e4dc80 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -234,7 +234,6 @@ PathChooser::PathChooser(QWidget *parent) :
|
||||
connect(d->m_lineEdit, &QLineEdit::textChanged, this, [this] { emit pathChanged(d->m_lineEdit->text()); });
|
||||
|
||||
d->m_lineEdit->setMinimumWidth(120);
|
||||
d->m_lineEdit->setErrorColor(creatorTheme()->color(Theme::TextColorError));
|
||||
d->m_hLayout->addWidget(d->m_lineEdit);
|
||||
d->m_hLayout->setSizeConstraint(QLayout::SetMinimumSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user