mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
FinishedPage: show message instead of details on failure
This commit is contained in:
parent
d3f624f818
commit
5a3bbe8088
1 changed files with 3 additions and 4 deletions
|
@ -108,12 +108,11 @@ FinishedPage::focusInEvent( QFocusEvent* e )
|
|||
void
|
||||
FinishedPage::onInstallationFailed( const QString& message, const QString& details )
|
||||
{
|
||||
Q_UNUSED( message );
|
||||
Q_UNUSED( details );
|
||||
ui->mainText->setText( tr( "<h1>Installation Failed</h1><br/>"
|
||||
"%1 has not been installed on your computer.<br/>"
|
||||
"The error message was: %2." )
|
||||
.arg(Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::VersionedName ) )
|
||||
.arg( details ) );
|
||||
.arg( *Calamares::Branding::VersionedName )
|
||||
.arg( message ) );
|
||||
setRestartNowEnabled( false );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue