fix crash on startup. second part of r838918, fixes r839403

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839409
This commit is contained in:
Sebastian Sauer 2008-07-30 00:30:03 +00:00
parent 6d407b6bad
commit 5e831bce34

View File

@ -271,8 +271,8 @@ Icon::Icon(const QString &text, QGraphicsItem *parent)
: QGraphicsWidget(parent),
d(new IconPrivate(this))
{
setText(text);
init();
setText(text);
}
Icon::Icon(const QIcon &icon, const QString &text, QGraphicsItem *parent)