summaryrefslogtreecommitdiffstats
path: root/examples/xml/streambookmarks
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-05-06 12:54:24 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-07 17:55:47 +0200
commit8ec1594e63fbfbd387947a377e20a7b16fdce388 (patch)
tree5641f9ebbcf59a927b1a9cd1afb81a5cb35b2252 /examples/xml/streambookmarks
parent365cd77c2679d1f672dfd2f8403af9fe410a162f (diff)
Rename setResizeMode to setSectionResizeMode.
The overload of this method was renamed in b64426248d2212eb59535b2ca383d30fdb5e1c7a but this one was not. Change-Id: I60a6ddf0fcf9deea31ccf51e7b0db16c66023356 Reviewed-by: David Faure <faure@kde.org> Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'examples/xml/streambookmarks')
-rw-r--r--examples/xml/streambookmarks/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml/streambookmarks/mainwindow.cpp b/examples/xml/streambookmarks/mainwindow.cpp
index daf41dec81..65c86f8bd2 100644
--- a/examples/xml/streambookmarks/mainwindow.cpp
+++ b/examples/xml/streambookmarks/mainwindow.cpp
@@ -51,7 +51,7 @@ MainWindow::MainWindow()
labels << tr("Title") << tr("Location");
treeWidget = new QTreeWidget;
- treeWidget->header()->setResizeMode(QHeaderView::Stretch);
+ treeWidget->header()->setSectionResizeMode(QHeaderView::Stretch);
treeWidget->setHeaderLabels(labels);
setCentralWidget(treeWidget);