Don't make table header sections clickable in pagenet, pagevideos
authorWuzzy <Wuzzy2@mail.ru>
Tue, 14 May 2019 18:04:15 +0200
changeset 14963 05cde9ba4183
parent 14962 c645327d0a81
child 14964 d01460ae866c
Don't make table header sections clickable in pagenet, pagevideos
QTfrontend/ui/page/pagenet.cpp
QTfrontend/ui/page/pagevideos.cpp
--- a/QTfrontend/ui/page/pagenet.cpp	Tue May 14 17:35:27 2019 +0200
+++ b/QTfrontend/ui/page/pagenet.cpp	Tue May 14 18:04:15 2019 +0200
@@ -109,6 +109,7 @@
     tvServersList->setModel(new HWNetUdpModel(tvServersList));
 
     tvServersList->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch);
+    tvServersList->horizontalHeader()->setSectionsClickable(false);
 
     static_cast<HWNetServersModel *>(tvServersList->model())->updateList();
 
--- a/QTfrontend/ui/page/pagevideos.cpp	Tue May 14 17:35:27 2019 +0200
+++ b/QTfrontend/ui/page/pagevideos.cpp	Tue May 14 18:04:15 2019 +0200
@@ -133,6 +133,7 @@
         header->setSectionResizeMode(vcSize, QHeaderView::Fixed);
         header->resizeSection(vcSize, 100);
         header->setStretchLastSection(true);
+        header->setSectionsClickable(false);
 
         btnOpenDir = new QPushButton(QPushButton::tr("Open videos directory"), pTableGroup);
         btnOpenDir->setWhatsThis(QPushButton::tr("Open the video directory in your system"));