diff options
Diffstat (limited to 'examples/xml/saxbookmarks/mainwindow.cpp')
-rw-r--r-- | examples/xml/saxbookmarks/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml/saxbookmarks/mainwindow.cpp b/examples/xml/saxbookmarks/mainwindow.cpp index c68cea0259..a26c71c845 100644 --- a/examples/xml/saxbookmarks/mainwindow.cpp +++ b/examples/xml/saxbookmarks/mainwindow.cpp @@ -50,7 +50,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); |