[partition] code style (minor followup to #872)
This commit is contained in:
parent
0729bdd0be
commit
38688bab47
@ -132,7 +132,10 @@ SetPartFlagsJob::exec()
|
|||||||
Report report ( nullptr );
|
Report report ( nullptr );
|
||||||
SetPartFlagsOperation op( *m_device, *partition(), m_flags );
|
SetPartFlagsOperation op( *m_device, *partition(), m_flags );
|
||||||
op.setStatus( Operation::StatusRunning );
|
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." )
|
QString errorMessage = tr( "The installer failed to set flags on partition %1." )
|
||||||
.arg( m_partition->partitionPath() );
|
.arg( m_partition->partitionPath() );
|
||||||
|
Loading…
Reference in New Issue
Block a user