From 5794510bd2310c72e38b5b4b7627bbf3eba0f885 Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Wed, 23 May 2018 12:09:57 +0200 Subject: [PATCH] Shop - disabled gesture scrolling on grids. Increased scrollbar widths. --- shop/shopform.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shop/shopform.cpp b/shop/shopform.cpp index cbb630d..5479131 100644 --- a/shop/shopform.cpp +++ b/shop/shopform.cpp @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include "data/favorititem.h" #include "favbutton.h" @@ -141,8 +141,8 @@ void ShopForm::loadLast() ui->commodityTable->setColumnHidden(2, true); ui->commodityTable->setColumnWidth(3, 90); - QScroller::grabGesture(ui->commodityTable, QScroller::LeftMouseButtonGesture); - QScroller::grabGesture(ui->actualReceipt, QScroller::LeftMouseButtonGesture); + ui->commodityTable->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 30px; }"); + ui->actualReceipt->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 30px; }"); if (srv.isEetEnabled()) {