From 843706e38decf5e9e20827298e58e6f0dd331828 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 4 Jul 2017 08:16:28 -0400 Subject: [PATCH] FinishedPage: show message instead of details on failure --- src/modules/finished/FinishedPage.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/finished/FinishedPage.cpp b/src/modules/finished/FinishedPage.cpp index 87862e90c..dd83e5e3e 100644 --- a/src/modules/finished/FinishedPage.cpp +++ b/src/modules/finished/FinishedPage.cpp @@ -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( "

Installation Failed


" "%1 has not been installed on your computer.
" "The error message was: %2." ) - .arg(Calamares::Branding::instance()-> - string( Calamares::Branding::VersionedName ) ) - .arg( details ) ); + .arg( *Calamares::Branding::VersionedName ) + .arg( message ) ); setRestartNowEnabled( false ); }