summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-09 02:13:50 -0400
committerGravatar Lioncash2019-05-09 02:17:22 -0400
commit8bdef4f95155378206d14bd134217733d305e782 (patch)
treeae1bc9c6136bad4398504b28421f552badca10ab /src
parentloader/nso: Remove left-in debug pragma (diff)
downloadyuzu-8bdef4f95155378206d14bd134217733d305e782.tar.gz
yuzu-8bdef4f95155378206d14bd134217733d305e782.tar.xz
yuzu-8bdef4f95155378206d14bd134217733d305e782.zip
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')
-rw-r--r--src/yuzu/hotkeys.h2
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:
67 67
68private: 68private:
69 struct Hotkey { 69 struct Hotkey {
70 Hotkey() : shortcut(nullptr), context(Qt::WindowShortcut) {}
71
72 QKeySequence keyseq; 70 QKeySequence keyseq;
73 QShortcut* shortcut = nullptr; 71 QShortcut* shortcut = nullptr;
74 Qt::ShortcutContext context = Qt::WindowShortcut; 72 Qt::ShortcutContext context = Qt::WindowShortcut;