forked from ShuriZma/suyu
1
0
Fork 0

removal of the -1 case in the configure_input switch

this case is unneeded because no enumeration value can possibly correspond to it
This commit is contained in:
noah the goodra 2017-01-31 09:55:56 -06:00
parent d0bf7df5ba
commit 6c41d87a9d
1 changed files with 0 additions and 1 deletions

View File

@ -17,7 +17,6 @@ static QString getKeyName(Qt::Key key_code) {
case Qt::Key_Alt: case Qt::Key_Alt:
return QObject::tr("Alt"); return QObject::tr("Alt");
case Qt::Key_Meta: case Qt::Key_Meta:
case -1:
return ""; return "";
default: default:
return QKeySequence(key_code).toString(); return QKeySequence(key_code).toString();