[partition] Give requirement entry a description

- The description is used in the Details dialog when the
   requirements fail. This one should be visible.
main
Adriaan de Groot 6 years ago
parent 2092ec3c9a
commit 40de1bd2eb

@ -679,8 +679,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
l.append(
{
QLatin1Literal( "partitions" ),
[]{ return QString(); },
[this]{ return tr( "There are no partitons to install on." ); },
[]{ return tr( "has at least one disk device available." ); },
[]{ return tr( "There are no partitons to install on." ); },
m_core->deviceModel()->rowCount() > 0, // satisfied
true // required
} );

Loading…
Cancel
Save