[partition] Add a summary message about swapfile
This commit is contained in:
parent
51c39cdbee
commit
5f9b7890c3
@ -233,8 +233,12 @@ PartitionViewStep::prettyStatus() const
|
||||
}
|
||||
return s.join( QString() );
|
||||
}();
|
||||
const QString jobsLabel = jobDescriptions( jobs() ).join( QStringLiteral( "<br/>" ) );
|
||||
return diskInfoLabel + "<br/>" + jobsLabel;
|
||||
QStringList jobsLabels = jobDescriptions( jobs() );
|
||||
if ( m_config->swapChoice() == Config::SwapChoice::SwapFile )
|
||||
{
|
||||
jobsLabels.append( tr( "Create a swap file." ) );
|
||||
}
|
||||
return diskInfoLabel + "<br/>" + jobsLabels.join( QStringLiteral( "<br/>" ) );
|
||||
}
|
||||
|
||||
QWidget*
|
||||
|
Loading…
Reference in New Issue
Block a user