summaryrefslogtreecommitdiff
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2012-09-28 16:16:36 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-29 08:12:32 +0200
commitd65dbb5d508d4cdbc383686428430035c205b21c (patch)
tree35457ae8b8cb93fdae295ac28c78d221091b98d9 /src/gui/itemviews
parent66e7e69f00a08664f0c0a6ed62a37a6918eaf8f3 (diff)
downloadqt4-tools-d65dbb5d508d4cdbc383686428430035c205b21c.tar.gz
Fix g++/MinGW compiler warnings.
- Assigned/Unused variables. - Unsigned comparison >= 0 is always true. - Constructor initialization order. - Signed/Unsigned comparisons. Change-Id: I1f9edab0506573420ed0bf3055252ba48625c8eb Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qtableview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qtableview.cpp b/src/gui/itemviews/qtableview.cpp
index 3e48993cd6..1476ecbf1a 100644
--- a/src/gui/itemviews/qtableview.cpp
+++ b/src/gui/itemviews/qtableview.cpp
@@ -3188,6 +3188,7 @@ void QTableView::selectionChanged(const QItemSelection &selected,
{
#ifndef QT_NO_ACCESSIBILITY
Q_D(QTableView);
+ Q_UNUSED(d)
if (QAccessible::isActive()) {
// ### does not work properly for selection ranges.
QModelIndex sel = selected.indexes().value(0);