From 10dcf8ffc00ec7616ea44831b60d1893a9bca721 Mon Sep 17 00:00:00 2001 From: Dawit Alemayehu Date: Wed, 6 Jul 2011 19:16:36 -0400 Subject: [PATCH] Fixed -Wunused-parameter compiler warning. REVIEW: 101881 --- abstracttoolbox.cpp | 2 +- private/qtjolie-branch/qtjolie/abstractadaptor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abstracttoolbox.cpp b/abstracttoolbox.cpp index 14205a352..b3df4ee2e 100644 --- a/abstracttoolbox.cpp +++ b/abstracttoolbox.cpp @@ -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(parent)), d(new AbstractToolBoxPrivate(qobject_cast(parent))) { diff --git a/private/qtjolie-branch/qtjolie/abstractadaptor.cpp b/private/qtjolie-branch/qtjolie/abstractadaptor.cpp index ffa80be7c..5352ba0fe 100644 --- a/private/qtjolie-branch/qtjolie/abstractadaptor.cpp +++ b/private/qtjolie-branch/qtjolie/abstractadaptor.cpp @@ -31,7 +31,7 @@ namespace Jolie using namespace Jolie; AbstractAdaptor::AbstractAdaptor(QObject *parent) - : d(new AbstractAdaptorPrivate) + : QObject(parent), d(new AbstractAdaptorPrivate) { }