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()) {