diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-04 18:33:23 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-04 18:33:23 -0400 |
| commit | 479150a619bbfdfa8d7527e0fee28daecd22724c (patch) | |
| tree | 585c41ce24034bdb39060461d65c18a488996780 /src/mainwindow.h | |
| parent | 369408eed067c1ca76759ef22ea5dfc4facdf082 (diff) | |
show the main menu when releasing alt instead of pressing, less annoying to take screenshots with alt+printscreen without having the menu pop up
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 679065bd..35ac75a9 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -195,7 +195,7 @@ protected: virtual void resizeEvent(QResizeEvent *event); virtual void dragEnterEvent(QDragEnterEvent *event); virtual void dropEvent(QDropEvent *event); - void keyPressEvent(QKeyEvent *event) override; + void keyReleaseEvent(QKeyEvent *event) override; private slots: void on_actionChange_Game_triggered(); |
