hush the compiler

This commit is contained in:
Aaron Seigo 2011-05-20 09:41:38 +02:00
parent 5717088b57
commit e73f4bf9f2

View File

@ -46,6 +46,8 @@ AbstractToolBox::AbstractToolBox(QObject *parent, const QVariantList &args)
: QGraphicsWidget(dynamic_cast<QGraphicsItem *>(parent)),
d(new AbstractToolBoxPrivate(qobject_cast<Containment *>(parent)))
{
Q_UNUSED(args)
if (!parentItem()) {
setParent(parent);
}