2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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.
This commit is contained in:
Lioncash 2019-05-09 02:13:50 -04:00
parent 75a8b304d4
commit 8bdef4f951

View file

@ -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;