summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-07-20 11:35:32 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-07-20 11:35:32 (GMT)
commit10ae8560f03c0e70e77420accf5233dee36c5b67 (patch)
tree375475e51a9b41d856718373744ae828176206b8 /src/gui
parentcc4b3c0f9c66a586df67992f5b3687fbab4029d6 (diff)
parentebcb490b3e179157a886474c86597984b346abe3 (diff)
downloadQt-10ae8560f03c0e70e77420accf5233dee36c5b67.zip
Qt-10ae8560f03c0e70e77420accf5233dee36c5b67.tar.gz
Qt-10ae8560f03c0e70e77420accf5233dee36c5b67.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: My 4.7.0 changes Fix a Headerview layout bug Qt does not build with qt_namespace on macos Add a testcase for when peeking and then reading from a QIODevice
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/itemviews/qheaderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qheaderview.cpp b/src/gui/itemviews/qheaderview.cpp
index cd9ee15..67854a3 100644
--- a/src/gui/itemviews/qheaderview.cpp
+++ b/src/gui/itemviews/qheaderview.cpp
@@ -1871,7 +1871,7 @@ void QHeaderViewPrivate::_q_layoutChanged()
for (int i = 0; i < oldSectionHidden.count(); ++i) {
if (oldSectionHidden.testBit(i))
- q->setSectionHidden(logicalIndex(i), false);
+ q->setSectionHidden(i, false);
}
// the number of sections changed; we need to reread the state of the model