Qt: Disable tab key navigation on game list (#3752)

This commit is contained in:
Davide Pesavento
2026-06-20 23:44:53 -04:00
committed by GitHub
parent 64f0689b6c
commit 0dd6e5cef7
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -2410,6 +2410,7 @@ GameListListView::GameListListView(GameListModel* model, GameListSortModel* sort
setContextMenuPolicy(Qt::CustomContextMenu);
setAlternatingRowColors(true);
setShowGrid(false);
setTabKeyNavigation(false);
QHeaderView* const horizontal_header = horizontalHeader();
horizontal_header->setHighlightSections(false);
@@ -9,7 +9,7 @@
#include "util/postprocessing.h"
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QWidget>
class SettingsWindow;
+1 -1
View File
@@ -288,7 +288,7 @@ void QtUtils::SetWindowResizeable(QWidget* widget, bool resizeable)
// Min/max numbers come from uic.
widget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
widget->setMinimumSize(1, 1);
widget->setMaximumSize(16777215, 16777215);
widget->setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
}
else
{