diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-09 15:04:33 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-09 15:04:33 (GMT) |
commit | 861bf225fedc452ab5b18c12e18e38c4172a5f1a (patch) | |
tree | 20f0c48f57cf552814446dfa0390868e072e3fc2 /src/gui | |
parent | df7d44d9e826e608d280270125b2d376c33c66ad (diff) | |
download | Qt-861bf225fedc452ab5b18c12e18e38c4172a5f1a.zip Qt-861bf225fedc452ab5b18c12e18e38c4172a5f1a.tar.gz Qt-861bf225fedc452ab5b18c12e18e38c4172a5f1a.tar.bz2 |
Improves the documentation of QHeaderView::setResizeMode to specify
that the section indicated by the parameter logicalIndex should exist
Task-number: 255541
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/itemviews/qheaderview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemviews/qheaderview.cpp b/src/gui/itemviews/qheaderview.cpp index d28c08a..7ad825a 100644 --- a/src/gui/itemviews/qheaderview.cpp +++ b/src/gui/itemviews/qheaderview.cpp @@ -1153,7 +1153,8 @@ void QHeaderView::setResizeMode(ResizeMode mode) \overload Sets the constraints on how the section specified by \a logicalIndex in - the header can be resized to those described by the given \a mode. + the header can be resized to those described by the given \a mode. The logical + index should exist at the time this function is called. \note This setting will be ignored for the last section if the stretchLastSection property is set to true. This is the default for the horizontal headers provided |