summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-25 10:06:48 +0200
committerLioncash <mathew1800@gmail.com>2019-05-25 10:08:18 +0200
commitd61199721d4815841edd564ee2153cff11e66996 (patch)
tree2a4d68e1551f99e99ee865d6645dddc4723f6716
parentconfigure_hotkeys: Move conflict detection logic to IsUsedKey() (diff)
downloadyuzu-d61199721d4815841edd564ee2153cff11e66996.tar
yuzu-d61199721d4815841edd564ee2153cff11e66996.tar.gz
yuzu-d61199721d4815841edd564ee2153cff11e66996.tar.bz2
yuzu-d61199721d4815841edd564ee2153cff11e66996.tar.lz
yuzu-d61199721d4815841edd564ee2153cff11e66996.tar.xz
yuzu-d61199721d4815841edd564ee2153cff11e66996.tar.zst
yuzu-d61199721d4815841edd564ee2153cff11e66996.zip
-rw-r--r--src/yuzu/configuration/configure_hotkeys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.cpp b/src/yuzu/configuration/configure_hotkeys.cpp
index 02f2daabc..583fd6a0e 100644
--- a/src/yuzu/configuration/configure_hotkeys.cpp
+++ b/src/yuzu/configuration/configure_hotkeys.cpp
@@ -67,8 +67,8 @@ void ConfigureHotkeys::Configure(QModelIndex index) {
}
if (IsUsedKey(key_sequence) && key_sequence != QKeySequence(previous_key.toString())) {
- QMessageBox::critical(this, tr("Error in inputted key"),
- tr("You're using a key that's already bound."));
+ QMessageBox::warning(this, tr("Error in inputted key"),
+ tr("You're using a key that's already bound."));
} else {
model->setData(index, key_sequence.toString(QKeySequence::NativeText));
}