--- a/QTfrontend/ui/page/pageadmin.cpp Wed Jan 24 21:05:34 2018 +0100
+++ b/QTfrontend/ui/page/pageadmin.cpp Wed Jan 24 22:20:10 2018 +0100
@@ -98,7 +98,7 @@
<< tr("Expiration")
<< tr("Reason")
);
- twBans->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch);
+ twBans->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch);
twBans->setEditTriggers(QAbstractItemView::NoEditTriggers);
twBans->setSelectionBehavior(QAbstractItemView::SelectRows);
twBans->setSelectionMode(QAbstractItemView::SingleSelection);