--- a/QTfrontend/ui/page/pageroomslist.cpp Wed Jan 24 21:05:34 2018 +0100
+++ b/QTfrontend/ui/page/pageroomslist.cpp Wed Jan 24 22:20:10 2018 +0100
@@ -154,7 +154,7 @@
roomsList = new RoomTableView(this);
roomsList->setSelectionBehavior(QAbstractItemView::SelectRows);
roomsList->verticalHeader()->setVisible(false);
- roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+ roomsList->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
roomsList->setAlternatingRowColors(true);
roomsList->setShowGrid(false);
roomsList->setSelectionMode(QAbstractItemView::SingleSelection);
@@ -587,7 +587,7 @@
h->setSortIndicatorShown(true);
h->setSortIndicator(RoomsListModel::StateColumn, Qt::AscendingOrder);
- h->setResizeMode(RoomsListModel::NameColumn, QHeaderView::Stretch);
+ h->setSectionResizeMode(RoomsListModel::NameColumn, QHeaderView::Stretch);
if (!restoreHeaderState())
{