summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-27 16:37:28 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-28 08:50:52 (GMT)
commit28061caa38d94de85db9aec743d1efba33c1e46f (patch)
tree75bb9d1ff713979ef040fd8eab63ea18cae1f6a2 /src/gui/itemviews
parente8019cf8feb402303e6d253f5ca58bebfda42679 (diff)
downloadQt-28061caa38d94de85db9aec743d1efba33c1e46f.zip
Qt-28061caa38d94de85db9aec743d1efba33c1e46f.tar.gz
Qt-28061caa38d94de85db9aec743d1efba33c1e46f.tar.bz2
Fixes warnings about unused variables
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qtableview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/itemviews/qtableview.cpp b/src/gui/itemviews/qtableview.cpp
index e494ee5..a5eed1d 100644
--- a/src/gui/itemviews/qtableview.cpp
+++ b/src/gui/itemviews/qtableview.cpp
@@ -1285,7 +1285,6 @@ void QTableView::paintEvent(QPaintEvent *event)
const QPen gridPen = QPen(gridColor, 0, d->gridStyle);
const QHeaderView *verticalHeader = d->verticalHeader;
const QHeaderView *horizontalHeader = d->horizontalHeader;
- const QStyle::State state = option.state;
const bool alternate = d->alternatingColors;
const bool rightToLeft = isRightToLeft();