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:
parent
6d407b6bad
commit
5e831bce34
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user