update the geometry when the text changes, apparently it doesn't get done automagically :/

svn path=/trunk/KDE/kdelibs/; revision=1057231
This commit is contained in:
Marco Martin 2009-12-01 19:33:01 +00:00
parent 1a4dcf8278
commit bd279b081f

View File

@ -134,6 +134,7 @@ Label::~Label()
void Label::setText(const QString &text)
{
static_cast<QLabel*>(widget())->setText(text);
updateGeometry();
}
QString Label::text() const