set the pos of the lineedit. really, this should become a Widget with a

QGrahpicsTextItem as a child item

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696366
This commit is contained in:
Aaron J. Seigo 2007-08-04 14:59:21 +00:00
parent e4f1d2f617
commit ecad916f0a

View File

@ -177,6 +177,7 @@ void LineEdit::setGeometry(const QRectF& geometry)
{
prepareGeometryChange();
setTextWidth(geometry.width());
setPos(geometry.topLeft());
update();
}