[localeq] Report summary before install

This commit is contained in:
Adriaan de Groot 2020-07-24 11:10:56 +02:00
parent a4ed160060
commit 07c096673d
2 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,13 @@ LocaleQmlViewStep::prettyName() const
return tr( "Location" ); return tr( "Location" );
} }
QString
LocaleQmlViewStep::prettyStatus() const
{
QStringList l { m_config->currentLocationStatus(), m_config->currentLanguageStatus(), m_config->currentLCStatus() };
return l.join( QStringLiteral( "<br/>" ) );
}
bool bool
LocaleQmlViewStep::isNextEnabled() const LocaleQmlViewStep::isNextEnabled() const
{ {

View File

@ -35,6 +35,7 @@ public:
explicit LocaleQmlViewStep( QObject* parent = nullptr ); explicit LocaleQmlViewStep( QObject* parent = nullptr );
QString prettyName() const override; QString prettyName() const override;
QString prettyStatus() const override;
bool isNextEnabled() const override; bool isNextEnabled() const override;
bool isBackEnabled() const override; bool isBackEnabled() const override;