diff options
author | axis <qt-info@nokia.com> | 2009-07-06 11:23:44 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-06 11:23:44 (GMT) |
commit | b6909aedbfcafe67c5e2fc1bbda62e0ea672d239 (patch) | |
tree | 0d3a61a5942f0fe4a2a8e5b95f11fc6ca39d48ca /src/gui/itemviews/qheaderview.cpp | |
parent | 2eef0ba923644e62e0dd1e7829de57cc7118798a (diff) | |
parent | b1607cfaaca575b5a8ce416cb23a23b1fa6c4db1 (diff) | |
download | Qt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.zip Qt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.tar.gz Qt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.tar.bz2 |
Merge branch 'warningRemovals'
Diffstat (limited to 'src/gui/itemviews/qheaderview.cpp')
-rw-r--r-- | src/gui/itemviews/qheaderview.cpp | 6 |
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); } |