Эх сурвалжийг харах

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.
Lioncash 7 жил өмнө
parent
commit
8bdef4f951
1 өөрчлөгдсөн 0 нэмэгдсэн , 2 устгасан
  1. 0 2
      src/yuzu/hotkeys.h

+ 0 - 2
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;