From a12e272d88cb268db2ddbde40d195aea9f25ea00 Mon Sep 17 00:00:00 2001 From: Lukáš Lalinský Date: Wed, 18 Mar 2009 09:24:43 +0100 Subject: Get rid of warnings about unused variables --- src/diagramitem.cpp | 1 + src/diagramitemproperties.cpp | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/diagramitem.cpp b/src/diagramitem.cpp index dffeba9..cd591ec 100644 --- a/src/diagramitem.cpp +++ b/src/diagramitem.cpp @@ -97,5 +97,6 @@ DiagramItem::fromMimeData(const QMimeData *mimeData) DiagramItemProperties * DiagramItem::createPropertiesEditor(QWidget *parent) { + Q_UNUSED(parent) return NULL; } diff --git a/src/diagramitemproperties.cpp b/src/diagramitemproperties.cpp index 9568d5a..4319863 100644 --- a/src/diagramitemproperties.cpp +++ b/src/diagramitemproperties.cpp @@ -58,4 +58,6 @@ DiagramItemProperties::setCurrentItem(DiagramItem *item) void DiagramItemProperties::switchCurrentItem(DiagramItem *oldItem, DiagramItem *newItem) { + Q_UNUSED(oldItem) + Q_UNUSED(newItem) } -- cgit v1.2.3-70-g09d2