summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-10 01:35:52 +0200
committerLioncash <mathew1800@gmail.com>2019-04-10 01:35:54 +0200
commite28a5b0d18be203fc4fcb8688a13a74c24fcb9c2 (patch)
tree105c5a60d8bd1695a3774dc8e75e86c15db93604
parentMerge pull request #2354 from lioncash/header (diff)
downloadyuzu-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.cpp2
-rw-r--r--src/yuzu/configuration/configure_hotkeys.h2
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;