summaryrefslogtreecommitdiffstats
path: root/examples/xml/rsslisting
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/rsslisting
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/rsslisting')
-rw-r--r--examples/xml/rsslisting/rsslisting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml/rsslisting/rsslisting.cpp b/examples/xml/rsslisting/rsslisting.cpp
index cd6a595764..37b7ad95dd 100644
--- a/examples/xml/rsslisting/rsslisting.cpp
+++ b/examples/xml/rsslisting/rsslisting.cpp
@@ -86,7 +86,7 @@ RSSListing::RSSListing(QWidget *parent)
QStringList headerLabels;
headerLabels << tr("Title") << tr("Link");
treeWidget->setHeaderLabels(headerLabels);
- treeWidget->header()->setResizeMode(QHeaderView::ResizeToContents);
+ treeWidget->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
connect(&manager, SIGNAL(finished(QNetworkReply*)),
this, SLOT(finished(QNetworkReply*)));