Fix LineEdit::geometry(). Returned ectangle should be in parent coordinates.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699255
This commit is contained in:
parent
17e17536b1
commit
1f99ac776a
@ -170,7 +170,7 @@ qreal LineEdit::widthForHeight(qreal h) const
|
||||
|
||||
QRectF LineEdit::geometry() const
|
||||
{
|
||||
return boundingRect().toRect();
|
||||
return QRectF(pos(),boundingRect().size());
|
||||
}
|
||||
|
||||
void LineEdit::setGeometry(const QRectF& geometry)
|
||||
|
Loading…
Reference in New Issue
Block a user