Fix indentation

This commit is contained in:
johanneshilden 2017-10-06 10:28:05 +03:00
commit c533fd84cb
1 changed files with 4 additions and 0 deletions

View File

@ -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));