diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index a72535266..0bb0bc1e0 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -175,7 +175,7 @@ void LineEdit::keyPressEvent(QKeyEvent *event) d->oldText = QGraphicsTextItem::toHtml(); emit textChanged(QGraphicsTextItem::toHtml()); } -// if (QGraphicsTextItem::toPlainText().simplified() == "") +// if (QGraphicsTextItem::toPlainText().simplified().isEmtpy()) // QGraphicsTextItem::setHtml(d->defaultText); }