forked from suyu/suyu
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:
parent
d0bf7df5ba
commit
6c41d87a9d
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue