diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-09 02:13:50 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-09 02:17:22 -0400 |
commit | 8bdef4f95155378206d14bd134217733d305e782 (patch) | |
tree | ae1bc9c6136bad4398504b28421f552badca10ab /src/yuzu/hotkeys.h | |
parent | 75a8b304d464525a260f0bd8ad2a7f8708c80ed2 (diff) |
yuzu/hotkeys: Remove unnecessary constructor
The behavior of the Hotkey constructor is already accomplished via in-class member
initializers, so the constructor is superfluous here.
Diffstat (limited to 'src/yuzu/hotkeys.h')
-rw-r--r-- | src/yuzu/hotkeys.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/yuzu/hotkeys.h b/src/yuzu/hotkeys.h index 4f526dc7e..248fadaf3 100644 --- a/src/yuzu/hotkeys.h +++ b/src/yuzu/hotkeys.h @@ -67,8 +67,6 @@ public: private: struct Hotkey { - Hotkey() : shortcut(nullptr), context(Qt::WindowShortcut) {} - QKeySequence keyseq; QShortcut* shortcut = nullptr; Qt::ShortcutContext context = Qt::WindowShortcut; |