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

View file

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