diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2014-01-28 12:57:27 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-06 17:15:38 +0100 |
commit | 845716d629cbb66d646cd61e8d3dc3acfe503889 (patch) | |
tree | 6c004f7cc05b8e6ed8cbf4ca9aa4740fc573a602 | |
parent | c36aa886833cee26a929a531326c814ba94decf8 (diff) | |
download | qtbase-845716d629cbb66d646cd61e8d3dc3acfe503889.tar.gz qtbase-845716d629cbb66d646cd61e8d3dc3acfe503889.tar.bz2 qtbase-845716d629cbb66d646cd61e8d3dc3acfe503889.zip |
Doc: corrected description of QTableWidget::clear()
Task-number: QTBUG-36329
Change-Id: I3a78311bcb076b414ecf1ecf866e4ed60c391126
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r-- | src/widgets/itemviews/qtablewidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtablewidget.cpp b/src/widgets/itemviews/qtablewidget.cpp index 71034f6165..bec690d0d0 100644 --- a/src/widgets/itemviews/qtablewidget.cpp +++ b/src/widgets/itemviews/qtablewidget.cpp @@ -2515,7 +2515,9 @@ void QTableWidget::removeColumn(int column) /*! Removes all items in the view. - This will also remove all selections. + This will also remove all selections and headers. + If you don't want to remove the headers, use + QTableWidget::clearContents(). The table dimensions stay the same. */ |