From ef3c0f54d0cdfc3a4a24daac93ecc65a4359b0df Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 May 2019 04:03:15 -0400 Subject: 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. --- src/yuzu/configuration/configure_hotkeys.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/yuzu/configuration/configure_hotkeys.h') 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 GetUsedKeyList() const; std::unique_ptr ui; -- cgit v1.2.3