[partition] code style (minor followup to #872)

This commit is contained in:
Adriaan de Groot 2017-12-14 15:55:23 -05:00
parent 0729bdd0be
commit 38688bab47

View File

@ -132,7 +132,10 @@ SetPartFlagsJob::exec()
Report report ( nullptr );
SetPartFlagsOperation op( *m_device, *partition(), m_flags );
op.setStatus( Operation::StatusRunning );
connect(&op, &Operation::progress, [&](int percent) { emit progress(percent / 100.0); } );
connect( &op, &Operation::progress, [&]( int percent )
{
emit progress( percent / 100.0 );
} );
QString errorMessage = tr( "The installer failed to set flags on partition %1." )
.arg( m_partition->partitionPath() );