mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
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:
parent
c71385e93f
commit
d27675d660
10 changed files with 19 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue