mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15: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
|
@ -98,7 +98,7 @@ CommandList::~CommandList()
|
|||
{
|
||||
}
|
||||
|
||||
Calamares::JobResult CommandList::run( const QObject* parent )
|
||||
Calamares::JobResult CommandList::run()
|
||||
{
|
||||
System::RunLocation location = m_doChroot ? System::RunLocation::RunInTarget : System::RunLocation::RunInHost;
|
||||
|
||||
|
@ -139,7 +139,7 @@ Calamares::JobResult CommandList::run( const QObject* parent )
|
|||
if ( suppress_result )
|
||||
cDebug() << "Error code" << r.getExitCode() << "ignored by CommandList configuration.";
|
||||
else
|
||||
return r.explainProcess( parent, processed_cmd, timeout );
|
||||
return r.explainProcess( processed_cmd, timeout );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue