Skip to content

Commit

Permalink
Use ZoomIn/ZoomOut QKeySequence in GameList
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk authored and leoetlino committed Mar 15, 2020
1 parent eda31c7 commit cd2cf13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinQt/GameList/GameList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cd2cf13

Please sign in to comment.