diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-25 04:03:15 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-25 04:08:13 -0400 |
commit | ef3c0f54d0cdfc3a4a24daac93ecc65a4359b0df (patch) | |
tree | c6bc28e832786ccfc026fd131eadcade8ab1797f /src/yuzu/configuration/configure_hotkeys.h | |
parent | c03fb00ac142e27ba8d7e7cc1dde0539375b7d96 (diff) |
configure_hotkeys: Move conflict detection logic to IsUsedKey()
We don't need to extract the entire set of hotkeys into a list and then
iterate through it. We can traverse the list and early-exit if we're
able to.
Diffstat (limited to 'src/yuzu/configuration/configure_hotkeys.h')
-rw-r--r-- | src/yuzu/configuration/configure_hotkeys.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.h b/src/yuzu/configuration/configure_hotkeys.h index 1bbe64114..e77d73c35 100644 --- a/src/yuzu/configuration/configure_hotkeys.h +++ b/src/yuzu/configuration/configure_hotkeys.h @@ -34,7 +34,6 @@ public: private: void Configure(QModelIndex index); bool IsUsedKey(QKeySequence key_sequence) const; - QList<QKeySequence> GetUsedKeyList() const; std::unique_ptr<Ui::ConfigureHotkeys> ui; |