summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-05-27 14:36:19 (GMT)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-05-27 14:51:37 (GMT)
commit19c2aef89f7a8748c11161ffab9765313d0e2e7d (patch)
tree42eec013baaa80fce5953de9213ae954547127b0
parent7fbd0a170a90f8fba8e81abb964ec06702f25448 (diff)
downloadQt-19c2aef89f7a8748c11161ffab9765313d0e2e7d.zip
Qt-19c2aef89f7a8748c11161ffab9765313d0e2e7d.tar.gz
Qt-19c2aef89f7a8748c11161ffab9765313d0e2e7d.tar.bz2
Removed unused variable
Reviewed-by: Olivier Goffart
-rw-r--r--src/gui/itemviews/qitemdelegate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/itemviews/qitemdelegate.cpp b/src/gui/itemviews/qitemdelegate.cpp
index d5f6fd2..9bbfc23 100644
--- a/src/gui/itemviews/qitemdelegate.cpp
+++ b/src/gui/itemviews/qitemdelegate.cpp
@@ -667,7 +667,6 @@ void QItemDelegate::drawDisplay(QPainter *painter, const QStyleOptionViewItem &o
{
Q_D(const QItemDelegate);
- QPen pen = painter->pen();
QPalette::ColorGroup cg = option.state & QStyle::State_Enabled
? QPalette::Normal : QPalette::Disabled;
if (cg == QPalette::Normal && !(option.state & QStyle::State_Active))