summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/fx/qfxitem.cpp2
-rw-r--r--src/declarative/fx/qfxrepeater.cpp1
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h2
3 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp
index 54e17e0..cd8cabd 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);
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index 10e03de..83806c0 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -92,7 +92,7 @@ public:
void purge();
};
-class Q_AUTOTEST_EXPORT QGraphicsItemPrivate
+class Q_GUI_EXPORT QGraphicsItemPrivate
{
Q_DECLARE_PUBLIC(QGraphicsItem)
public: