summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-06-23 13:41:31 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-06-23 13:41:31 (GMT)
commit8391e67dce6011bc8b418125686a5a4699d5e2d8 (patch)
treecb35390857936df6fed37a7442fdf1d8ab78493c
parent970bfaba5a1a3c1ed84040ab1bbabbde10f2bf1b (diff)
downloadQt-8391e67dce6011bc8b418125686a5a4699d5e2d8.zip
Qt-8391e67dce6011bc8b418125686a5a4699d5e2d8.tar.gz
Qt-8391e67dce6011bc8b418125686a5a4699d5e2d8.tar.bz2
Get rid of some compiler warnings.
-rw-r--r--src/declarative/fx/qfxitem.cpp2
-rw-r--r--src/declarative/fx/qfxrepeater.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp
index d4a5b06..6cffecf 100644
--- a/src/declarative/fx/qfxitem.cpp
+++ b/src/declarative/fx/qfxitem.cpp
@@ -2176,6 +2176,7 @@ QPointF QFxItem::transformOriginPoint() const
void QFxItem::setFocus(bool focus)
{
+ Q_UNUSED(focus)
return;
}
@@ -2475,6 +2476,7 @@ bool QFxItem::activeFocusPanel() const
void QFxItem::setActiveFocusPanel(bool b)
{
+ Q_UNUSED(b)
}
bool QFxItem::hasActiveFocus() const
diff --git a/src/declarative/fx/qfxrepeater.cpp b/src/declarative/fx/qfxrepeater.cpp
index 3ed47cd..a4dc809 100644
--- a/src/declarative/fx/qfxrepeater.cpp
+++ b/src/declarative/fx/qfxrepeater.cpp
@@ -57,6 +57,7 @@ QFxRepeaterPrivate::~QFxRepeaterPrivate()
QFxItem *QFxRepeaterPrivate::addItem(QmlContext *ctxt, QFxItem *lastItem)
{
+ Q_UNUSED(lastItem)
Q_Q(QFxRepeater);
QObject *nobj = component->create(ctxt);
QFxItem *item = qobject_cast<QFxItem *>(nobj);