configure_hotkeys: Tidy up key sequence conflict error string

Avoids mentioning the user and formalizes the error itself.
master
Lioncash 2019-05-25 04:19:51 +07:00
parent d61199721d
commit 6640f631e2
1 changed files with 2 additions and 2 deletions

@ -67,8 +67,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));
}