let's not crash.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838918
This commit is contained in:
Aaron J. Seigo 2008-07-29 03:02:04 +00:00
parent cf1d001296
commit 8eb05ee061

View File

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