[partition] Give requirement entry a description
- The description is used in the Details dialog when the requirements fail. This one should be visible.
This commit is contained in:
parent
2092ec3c9a
commit
40de1bd2eb
@ -679,8 +679,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
|
|||||||
l.append(
|
l.append(
|
||||||
{
|
{
|
||||||
QLatin1Literal( "partitions" ),
|
QLatin1Literal( "partitions" ),
|
||||||
[]{ return QString(); },
|
[]{ return tr( "has at least one disk device available." ); },
|
||||||
[this]{ return tr( "There are no partitons to install on." ); },
|
[]{ return tr( "There are no partitons to install on." ); },
|
||||||
m_core->deviceModel()->rowCount() > 0, // satisfied
|
m_core->deviceModel()->rowCount() > 0, // satisfied
|
||||||
true // required
|
true // required
|
||||||
} );
|
} );
|
||||||
|
Loading…
Reference in New Issue
Block a user