From cd2cf137bab0c710c6c253f3e0b35a1685488bd9 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sun, 1 Mar 2020 23:14:55 +0000 Subject: [PATCH] Use ZoomIn/ZoomOut QKeySequence in GameList --- Source/Core/DolphinQt/GameList/GameList.cpp | 4 ++-- 1 file 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);