mirror of
https://github.com/stenzek/duckstation.git
synced 2026-07-11 01:24:11 +02:00
Qt: Disable tab key navigation on game list (#3752)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user