Fixed -Wunused-parameter compiler warning.

REVIEW: 101881
This commit is contained in:
Dawit Alemayehu 2011-07-06 19:16:36 -04:00 committed by David Faure
parent c21fc57968
commit 10dcf8ffc0
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ AbstractToolBox::AbstractToolBox(Containment *parent)
{
}
AbstractToolBox::AbstractToolBox(QObject *parent, const QVariantList &args)
AbstractToolBox::AbstractToolBox(QObject *parent, const QVariantList & /*args*/)
: QGraphicsWidget(dynamic_cast<QGraphicsItem *>(parent)),
d(new AbstractToolBoxPrivate(qobject_cast<Containment *>(parent)))
{

View File

@ -31,7 +31,7 @@ namespace Jolie
using namespace Jolie;
AbstractAdaptor::AbstractAdaptor(QObject *parent)
: d(new AbstractAdaptorPrivate)
: QObject(parent), d(new AbstractAdaptorPrivate)
{
}