diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-10 01:35:52 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-10 01:35:54 +0200 |
commit | e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2 (patch) | |
tree | 105c5a60d8bd1695a3774dc8e75e86c15db93604 | |
parent | Merge pull request #2354 from lioncash/header (diff) | |
download | yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar.gz yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar.bz2 yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar.lz yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar.xz yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.tar.zst yuzu-e28a5b0d18be203fc4fcb8688a13a74c24fcb9c2.zip |
-rw-r--r-- | src/yuzu/configuration/configure_hotkeys.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_hotkeys.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.cpp b/src/yuzu/configuration/configure_hotkeys.cpp index bfb562535..55d23d329 100644 --- a/src/yuzu/configuration/configure_hotkeys.cpp +++ b/src/yuzu/configuration/configure_hotkeys.cpp @@ -90,7 +90,7 @@ void ConfigureHotkeys::Configure(QModelIndex index) { } } -bool ConfigureHotkeys::IsUsedKey(QKeySequence key_sequence) { +bool ConfigureHotkeys::IsUsedKey(QKeySequence key_sequence) const { return GetUsedKeyList().contains(key_sequence); } diff --git a/src/yuzu/configuration/configure_hotkeys.h b/src/yuzu/configuration/configure_hotkeys.h index cd203aad6..e3766df55 100644 --- a/src/yuzu/configuration/configure_hotkeys.h +++ b/src/yuzu/configuration/configure_hotkeys.h @@ -39,7 +39,7 @@ signals: private: void Configure(QModelIndex index); - bool IsUsedKey(QKeySequence key_sequence); + bool IsUsedKey(QKeySequence key_sequence) const; QList<QKeySequence> GetUsedKeyList() const; std::unique_ptr<Ui::ConfigureHotkeys> ui; |