mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ui: implement smooth scrolling across all listing views
Signed-off-by: Işık <kimurathankurai@gmail.com>
This commit is contained in:
parent
232e9fde09
commit
44eb2dc290
23 changed files with 61 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ ModListView::ModListView(QWidget* parent) : QTreeView(parent)
|
|||
setDragEnabled(true);
|
||||
setDragDropMode(QAbstractItemView::DropOnly);
|
||||
viewport()->setAcceptDrops(true);
|
||||
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
}
|
||||
|
||||
void ModListView::setModel(QAbstractItemModel* model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue