[partition] Remove unused text

This commit is contained in:
Adriaan de Groot 2022-02-21 12:13:11 +01:00
parent 99d11f754f
commit f04f0a7e1d

View File

@ -216,17 +216,12 @@ diskDescription( int listLength, const PartitionCoreModule::SummaryInfo& info, C
QString
PartitionViewStep::prettyStatus() const
{
QString modeText, diskInfoLabel;
QString diskInfoLabel;
const Config::InstallChoice choice = m_config->installChoice();
const QList< PartitionCoreModule::SummaryInfo > list = m_core->createSummaryInfo();
cDebug() << "Summary for Partition" << list.length() << choice;
if ( list.length() > 1 ) // There are changes on more than one disk
{
modeText = modeDescription( choice );
}
for ( const auto& info : list )
{
// TODO: this overwrites each iteration