citra_qt/game_list: Disable uniform row heights

This option was intended for enabling optimizations when all rows are granted to have the same height. In our case this is not true, and therefore the behavior is actually undefined. Different versions of Qt handle this differently. Newer versions of Qt tend to hide contents that are too big in height, which goes against our wishes. Thus, it's probably the best to disable this option so that things don't go wrong if we ever decide to update Qt.
This commit is contained in:
zhupengfei 2019-08-20 20:01:14 +08:00
parent 82fea86717
commit b078122167
No known key found for this signature in database
GPG Key ID: DD129E108BD09378

View File

@ -285,7 +285,6 @@ GameList::GameList(GMainWindow* parent) : QWidget{parent} {
tree_view->setHorizontalScrollMode(QHeaderView::ScrollPerPixel);
tree_view->setSortingEnabled(true);
tree_view->setEditTriggers(QHeaderView::NoEditTriggers);
tree_view->setUniformRowHeights(true);
tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
tree_view->setStyleSheet("QTreeView{ border: none; }");