summaryrefslogtreecommitdiffstats
path: root/examples/xml/dombookmarks
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/dombookmarks
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/dombookmarks')
-rw-r--r--examples/xml/dombookmarks/xbeltree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml/dombookmarks/xbeltree.cpp b/examples/xml/dombookmarks/xbeltree.cpp
index 196338e2a6..b5091ad784 100644
--- a/examples/xml/dombookmarks/xbeltree.cpp
+++ b/examples/xml/dombookmarks/xbeltree.cpp
@@ -48,7 +48,7 @@ XbelTree::XbelTree(QWidget *parent)
QStringList labels;
labels << tr("Title") << tr("Location");
- header()->setResizeMode(QHeaderView::Stretch);
+ header()->setSectionResizeMode(QHeaderView::Stretch);
setHeaderLabels(labels);
folderIcon.addPixmap(style()->standardPixmap(QStyle::SP_DirClosedIcon),