Fix indentation
This commit is contained in:
commit
c533fd84cb
|
@ -299,6 +299,10 @@ void QtMaterialTextField::paintEvent(QPaintEvent *event)
|
|||
QPen pen;
|
||||
pen.setWidth(1);
|
||||
pen.setColor(inputLineColor());
|
||||
|
||||
if (!isEnabled())
|
||||
pen.setStyle(Qt::DotLine);
|
||||
|
||||
painter.setPen(pen);
|
||||
painter.setOpacity(1);
|
||||
painter.drawLine(QLineF(2.5, y, wd, y));
|
||||
|
|
Loading…
Reference in New Issue