From 8bdef4f95155378206d14bd134217733d305e782 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 9 May 2019 02:13:50 -0400 Subject: [PATCH] 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. --- src/yuzu/hotkeys.h | 2 -- 1 file changed, 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;