[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() );
|
return s.join( QString() );
|
||||||
}();
|
}();
|
||||||
const QString jobsLabel = jobDescriptions( jobs() ).join( QStringLiteral( "<br/>" ) );
|
QStringList jobsLabels = jobDescriptions( jobs() );
|
||||||
return diskInfoLabel + "<br/>" + jobsLabel;
|
if ( m_config->swapChoice() == Config::SwapChoice::SwapFile )
|
||||||
|
{
|
||||||
|
jobsLabels.append( tr( "Create a swap file." ) );
|
||||||
|
}
|
||||||
|
return diskInfoLabel + "<br/>" + jobsLabels.join( QStringLiteral( "<br/>" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget*
|
QWidget*
|
||||||
|
Loading…
Reference in New Issue
Block a user