[libcalamaresui] Apply coding style to modulesystem/
This commit is contained in:
parent
6224d6605b
commit
1b6aed8c40
@ -77,7 +77,9 @@ ProcessJobModule::initFrom( const QVariantMap& moduleDescriptor )
|
||||
{
|
||||
int sec = moduleDescriptor.value( "timeout" ).toInt();
|
||||
if ( sec < 0 )
|
||||
{
|
||||
sec = 0;
|
||||
}
|
||||
m_secondsTimeout = std::chrono::seconds( sec );
|
||||
}
|
||||
|
||||
|
@ -151,8 +151,7 @@ RequirementsChecker::reportProgress()
|
||||
m_progressTimeouts++;
|
||||
|
||||
QStringList remainingNames;
|
||||
auto remaining = std::count_if( m_watchers.cbegin(), m_watchers.cend(),
|
||||
[&]( const Watcher* w ) {
|
||||
auto remaining = std::count_if( m_watchers.cbegin(), m_watchers.cend(), [&]( const Watcher* w ) {
|
||||
if ( w && !w->isFinished() )
|
||||
{
|
||||
remainingNames << w->objectName();
|
||||
|
Loading…
Reference in New Issue
Block a user