Revert HTML too when defaultText is removed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679088
This commit is contained in:
parent
68a305c511
commit
40d9432574
@ -182,7 +182,7 @@ void LineEdit::keyPressEvent(QKeyEvent *event)
|
||||
void LineEdit::focusInEvent(QFocusEvent *event)
|
||||
{
|
||||
if (QGraphicsTextItem::toPlainText() == d->defaultTextPlain) {
|
||||
QGraphicsTextItem::setPlainText(QString());
|
||||
QGraphicsTextItem::setHtml(QString());
|
||||
}
|
||||
QGraphicsTextItem::focusInEvent(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user