Explorar el Código

Merge pull request #2458 from lioncash/hotkey

yuzu/hotkeys: Remove unnecessary constructor
bunnei hace 7 años
padre
commit
9567b3a293
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      src/yuzu/hotkeys.h

+ 0 - 2
src/yuzu/hotkeys.h

@@ -67,8 +67,6 @@ public:
 
 
 private:
 private:
     struct Hotkey {
     struct Hotkey {
-        Hotkey() : shortcut(nullptr), context(Qt::WindowShortcut) {}
-
         QKeySequence keyseq;
         QKeySequence keyseq;
         QShortcut* shortcut = nullptr;
         QShortcut* shortcut = nullptr;
         Qt::ShortcutContext context = Qt::WindowShortcut;
         Qt::ShortcutContext context = Qt::WindowShortcut;