mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
Use ZoomIn/ZoomOut QKeySequence in GameList
This commit is contained in:
parent
eda31c782e
commit
cd2cf137ba
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user