summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaanttil <janne.anttila@digia.com>2011-10-31 14:12:47 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-02 08:58:20 (GMT)
commit8975b9b118a4ea9faf548f59e4079da87338132d (patch)
treef4f30190066f83861270aeff2267ccc7ec734a8f /src
parent626cf4b0dee6b2d403876ebb499f47505c63e7b6 (diff)
downloadQt-8975b9b118a4ea9faf548f59e4079da87338132d.zip
Qt-8975b9b118a4ea9faf548f59e4079da87338132d.tar.gz
Qt-8975b9b118a4ea9faf548f59e4079da87338132d.tar.bz2
Fixed compiler warnings about unused q and d variables in declarative.
Task-number: QTBUG-22512 Change-Id: I9acde5b799aa12c9de6e3321003bd5dcc4bb853d Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativegridview.cpp1
-rw-r--r--src/declarative/graphicsitems/qdeclarativelistview.cpp1
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp
index 8e8e957..868b6db 100644
--- a/src/declarative/graphicsitems/qdeclarativegridview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp
@@ -208,7 +208,6 @@ public:
}
void mirrorChange() {
- Q_Q(QDeclarativeGridView);
regenerate();
}
diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp
index 331dc35..ac91c66 100644
--- a/src/declarative/graphicsitems/qdeclarativelistview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp
@@ -286,7 +286,6 @@ public:
}
void mirrorChange() {
- Q_Q(QDeclarativeListView);
regenerate();
}
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index 18db4fd..4264587 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -1270,7 +1270,6 @@ bool QDeclarativeTextInput::event(QEvent* ev)
void QDeclarativeTextInput::geometryChanged(const QRectF &newGeometry,
const QRectF &oldGeometry)
{
- Q_D(QDeclarativeTextInput);
if (newGeometry.width() != oldGeometry.width()) {
updateSize();
updateCursorRectangle();