configure_hotkeys: Tidy up key sequence conflict error string

Avoids mentioning the user and formalizes the error itself.
This commit is contained in:
Lioncash authored and fearlessTobi committed 2019-06-01 23:12:59 +02:00
1 parent 640543f8e4
commit 0a65f68b4a
1 file changed
+2 -2
@@ -87,8 +87,8 @@ void ConfigureHotkeys::Configure(QModelIndex index) {
}
if (IsUsedKey(key_sequence) && key_sequence != QKeySequence(previous_key.toString())) {
QMessageBox::warning(this, tr("Error in inputted key"),
tr("You're using a key that's already bound."));
QMessageBox::warning(this, tr("Conflicting Key Sequence"),
tr("The entered key sequence is already assigned to another hotkey."));
} else {
model->setData(index, key_sequence.toString(QKeySequence::NativeText));
EmitHotkeysChanged();