summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qheaderview.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 07:23:40 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 07:43:45 (GMT)
commitad51d58450eaf0a0d4fccecfc479e719f5e3ff9b (patch)
treecd43225283969334fe3e8aabb9efb453aa25d4a0 /src/gui/itemviews/qheaderview.cpp
parent6725d82984107997fd865b2158b7f51931653a71 (diff)
downloadQt-ad51d58450eaf0a0d4fccecfc479e719f5e3ff9b.zip
Qt-ad51d58450eaf0a0d4fccecfc479e719f5e3ff9b.tar.gz
Qt-ad51d58450eaf0a0d4fccecfc479e719f5e3ff9b.tar.bz2
Removed pointless variables to silence warnings from RVCT.
Diffstat (limited to 'src/gui/itemviews/qheaderview.cpp')
-rw-r--r--src/gui/itemviews/qheaderview.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/itemviews/qheaderview.cpp b/src/gui/itemviews/qheaderview.cpp
index a44528d..8ae048e 100644
--- a/src/gui/itemviews/qheaderview.cpp
+++ b/src/gui/itemviews/qheaderview.cpp
@@ -2821,16 +2821,12 @@ void QHeaderViewPrivate::setupSectionIndicator(int section, int position)
sectionIndicator = new QLabel(viewport);
}
- int x, y, w, h;
+ int w, h;
int p = q->sectionViewportPosition(section);
if (orientation == Qt::Horizontal) {
- x = p;
- y = 0;
w = q->sectionSize(section);
h = viewport->height();
} else {
- x = 0;
- y = p;
w = viewport->width();
h = q->sectionSize(section);
}