diff options
| author | Eamonn Rea <eamonnrea@gmail.com> | 2020-03-01 23:14:55 +0000 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-03-15 14:58:33 +0100 |
| commit | cd2cf137bab0c710c6c253f3e0b35a1685488bd9 (patch) | |
| tree | 6d418a42773704ce0ba9e6d8d3a249da286aebb3 /Source | |
| parent | eda31c782e2b2af6701188281b835a7edd4fe0b5 (diff) | |
Use ZoomIn/ZoomOut QKeySequence in GameList
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/GameList/GameList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index 9f166db56e..2f83d5b2b7 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -82,8 +82,8 @@ GameList::GameList(QWidget* parent) : QStackedWidget(parent) m_prefer_list = Settings::Instance().GetPreferredView(); ConsiderViewChange(); - auto* zoom_in = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Plus), this); - auto* zoom_out = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Minus), this); + auto* zoom_in = new QShortcut(QKeySequence::ZoomIn, this); + auto* zoom_out = new QShortcut(QKeySequence::ZoomOut, this); connect(zoom_in, &QShortcut::activated, this, &GameList::ZoomIn); connect(zoom_out, &QShortcut::activated, this, &GameList::ZoomOut); |
