summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2009-03-18 09:24:43 +0100
committerLukáš Lalinský <lalinsky@gmail.com>2009-03-18 09:24:43 +0100
commita12e272d88cb268db2ddbde40d195aea9f25ea00 (patch)
treeac67cb0b2a1630bc643ecde6fe693d9d80c4699d /src
parent04003cef37595c7b6f8de37afb7f0c46a0b5ed94 (diff)
downloaddbmodel-a12e272d88cb268db2ddbde40d195aea9f25ea00.tar.xz
Get rid of warnings about unused variables
Diffstat (limited to 'src')
-rw-r--r--src/diagramitem.cpp1
-rw-r--r--src/diagramitemproperties.cpp2
2 files changed, 3 insertions, 0 deletions
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)
}