FinishedPage: show message instead of details on failure
This commit is contained in:
parent
a5604aa978
commit
843706e38d
@ -108,12 +108,11 @@ FinishedPage::focusInEvent( QFocusEvent* e )
|
|||||||
void
|
void
|
||||||
FinishedPage::onInstallationFailed( const QString& message, const QString& details )
|
FinishedPage::onInstallationFailed( const QString& message, const QString& details )
|
||||||
{
|
{
|
||||||
Q_UNUSED( message );
|
Q_UNUSED( details );
|
||||||
ui->mainText->setText( tr( "<h1>Installation Failed</h1><br/>"
|
ui->mainText->setText( tr( "<h1>Installation Failed</h1><br/>"
|
||||||
"%1 has not been installed on your computer.<br/>"
|
"%1 has not been installed on your computer.<br/>"
|
||||||
"The error message was: %2." )
|
"The error message was: %2." )
|
||||||
.arg(Calamares::Branding::instance()->
|
.arg( *Calamares::Branding::VersionedName )
|
||||||
string( Calamares::Branding::VersionedName ) )
|
.arg( message ) );
|
||||||
.arg( details ) );
|
|
||||||
setRestartNowEnabled( false );
|
setRestartNowEnabled( false );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user