summaryrefslogtreecommitdiffstats
path: root/examples/tools/settingseditor/locationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/settingseditor/locationdialog.cpp')
-rw-r--r--examples/tools/settingseditor/locationdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/settingseditor/locationdialog.cpp b/examples/tools/settingseditor/locationdialog.cpp
index e1ec636202..192aaab1b0 100644
--- a/examples/tools/settingseditor/locationdialog.cpp
+++ b/examples/tools/settingseditor/locationdialog.cpp
@@ -89,7 +89,7 @@ LocationDialog::LocationDialog(QWidget *parent)
locationsTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
locationsTable->setColumnCount(2);
locationsTable->setHorizontalHeaderLabels(labels);
- locationsTable->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
+ locationsTable->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch);
locationsTable->horizontalHeader()->resizeSection(1, 180);
buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok