1
0
Fork 0

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 committed by fearlessTobi
parent 95b413a458
commit eeb8dca7b9
1 changed files with 0 additions and 2 deletions

View File

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