summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorjaanttil <janne.anttila@digia.com>2011-10-05 09:55:56 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-03 14:25:17 (GMT)
commitaff964df58e213986cc5c18e4c2e81948345aeeb (patch)
tree3e96d465ea54edf4dd968f1f2e5784f30b2fdfcf /src/gui/widgets
parentd0a32c943b9ce21de33ab19757cc5f2a994b41c7 (diff)
downloadQt-aff964df58e213986cc5c18e4c2e81948345aeeb.zip
Qt-aff964df58e213986cc5c18e4c2e81948345aeeb.tar.gz
Qt-aff964df58e213986cc5c18e4c2e81948345aeeb.tar.bz2
Reduces compiler warnings when compiling for WEC7
Task-number: QTBUG-22512 Change-Id: I17fd0ff83fa23ae3e17597b753819d1f6b5d8446 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qlinecontrol.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp
index 358ec2a..9bc6f7e 100644
--- a/src/gui/widgets/qlinecontrol.cpp
+++ b/src/gui/widgets/qlinecontrol.cpp
@@ -694,6 +694,8 @@ void QLineControl::internalSetText(const QString &txt, int pos, bool edited)
#ifndef QT_NO_ACCESSIBILITY
if (changed)
QAccessible::updateAccessibility(parent(), 0, QAccessible::TextUpdated);
+#else
+ Q_UNUSED(changed);
#endif
}