diff options
| author | Olivier Goffart <[email protected]> | 2012-04-20 16:55:59 +0200 |
|---|---|---|
| committer | Qt by Nokia <[email protected]> | 2012-04-21 17:29:40 +0200 |
| commit | 910b446fb22c9c5ab3cc65d4025efc5102d0c45e (patch) | |
| tree | 02b1470ccdbe09bfc8a24694447a7a136fd9b7fb /examples/sql/masterdetail/mainwindow.cpp | |
| parent | fcec903da7ce0ec2b95d0b1d639885c6fc71f9c3 (diff) | |
Examples: Don't use deprecated methods
Change-Id: Ib6e795f6b5bb6a3ac19882a5fb224460ef1fc8ad
Reviewed-by: Stephen Kelly <[email protected]>
Diffstat (limited to 'examples/sql/masterdetail/mainwindow.cpp')
| -rw-r--r-- | examples/sql/masterdetail/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/masterdetail/mainwindow.cpp b/examples/sql/masterdetail/mainwindow.cpp index 0eb8bb45487..4e7abfcbf55 100644 --- a/examples/sql/masterdetail/mainwindow.cpp +++ b/examples/sql/masterdetail/mainwindow.cpp @@ -410,7 +410,7 @@ void MainWindow::updateHeader(QModelIndex, int, int) void MainWindow::adjustHeader() { albumView->hideColumn(0); - albumView->horizontalHeader()->setResizeMode(1, QHeaderView::Stretch); + albumView->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); albumView->resizeColumnToContents(2); albumView->resizeColumnToContents(3); } |
