[keyboard] Do not munge keyboard model name

The translation happens whenever this code is run, which may
not match the language the user subsequently selects.
It also causes general problems with the translation,
since we end up with a possibly-partly-translated name.
This commit is contained in:
Adriaan de Groot 2020-10-30 12:16:14 +01:00
parent 7ec8c454bd
commit 5a378090c2

View File

@ -84,12 +84,6 @@ parseKeyboardModels( const char* filepath )
{
QString modelDesc = rx.cap( 2 );
QString model = rx.cap( 1 );
if ( model == "pc105" )
{
modelDesc += " - " + QObject::tr( "Default Keyboard Model" );
}
models.insert( modelDesc, model );
}
}