i18n: drop superfluous QObject* parent

These additional pointers were introduced for translations,
and needed their own tricks to get lupdate to recognize the
strings. Using QCoreApplication::translate() removes the
need to a QObject to provide context. Drop the now-unneeded
parameters.
This commit is contained in:
Adriaan de Groot 2018-02-07 17:12:49 +01:00
parent c71385e93f
commit d27675d660
10 changed files with 19 additions and 20 deletions

View file

@ -85,7 +85,7 @@ ContextualProcessJob::exec()
{
if ( gs->contains( binding->variable ) && ( gs->value( binding->variable ).toString() == binding->value ) )
{
Calamares::JobResult r = binding->commands->run( this );
Calamares::JobResult r = binding->commands->run();
if ( !r )
return r;
}