Mercurial > minori
comparison src/gui/pages/anime_list.cpp @ 62:4c6dd5999b39
*: update
1. updated animia
2. use widestrings for filesystem on Windows
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:16:06 -0400 |
parents | 0c4138de2ea7 |
children | 3d2decf093bb |
comparison
equal
deleted
inserted
replaced
61:327568ad9be9 | 62:4c6dd5999b39 |
---|---|
443 } | 443 } |
444 tree_view->setModel(sort_models[0]); | 444 tree_view->setModel(sort_models[0]); |
445 | 445 |
446 QHBoxLayout* layout = new QHBoxLayout; | 446 QHBoxLayout* layout = new QHBoxLayout; |
447 layout->addWidget(tree_view); | 447 layout->addWidget(tree_view); |
448 layout->setMargin(0); | 448 layout->setContentsMargins(0, 0, 0, 0); |
449 tree_widget->setLayout(layout); | 449 tree_widget->setLayout(layout); |
450 | 450 |
451 /* Double click stuff */ | 451 /* Double click stuff */ |
452 connect(tree_view, &QAbstractItemView::doubleClicked, this, &AnimeListWidget::ItemDoubleClicked); | 452 connect(tree_view, &QAbstractItemView::doubleClicked, this, &AnimeListWidget::ItemDoubleClicked); |
453 connect(tree_view, &QWidget::customContextMenuRequested, this, &AnimeListWidget::DisplayListMenu); | 453 connect(tree_view, &QWidget::customContextMenuRequested, this, &AnimeListWidget::DisplayListMenu); |