From b078122167186e4cd816519d10b38298cfd1b100 Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Tue, 20 Aug 2019 20:01:14 +0800 Subject: [PATCH] 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. --- src/citra_qt/game_list.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 6ca267deca..0f0325ca26 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -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; }");