hush the compiler
This commit is contained in:
parent
5717088b57
commit
e73f4bf9f2
@ -46,6 +46,8 @@ AbstractToolBox::AbstractToolBox(QObject *parent, const QVariantList &args)
|
|||||||
: QGraphicsWidget(dynamic_cast<QGraphicsItem *>(parent)),
|
: QGraphicsWidget(dynamic_cast<QGraphicsItem *>(parent)),
|
||||||
d(new AbstractToolBoxPrivate(qobject_cast<Containment *>(parent)))
|
d(new AbstractToolBoxPrivate(qobject_cast<Containment *>(parent)))
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(args)
|
||||||
|
|
||||||
if (!parentItem()) {
|
if (!parentItem()) {
|
||||||
setParent(parent);
|
setParent(parent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user