|
|
@ -111,7 +111,7 @@ FinishedViewStep::sendNotification()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// If the installation failed, don't send notification popup;
|
|
|
|
// If the installation failed, don't send notification popup;
|
|
|
|
// there's a (modal) dialog popped up with the failure notice.
|
|
|
|
// there's a (modal) dialog popped up with the failure notice.
|
|
|
|
if (installFailed)
|
|
|
|
if ( installFailed )
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
QDBusInterface notify( "org.freedesktop.Notifications", "/org/freedesktop/Notifications", "org.freedesktop.Notifications" );
|
|
|
|
QDBusInterface notify( "org.freedesktop.Notifications", "/org/freedesktop/Notifications", "org.freedesktop.Notifications" );
|
|
|
@ -154,8 +154,8 @@ FinishedViewStep::jobs() const
|
|
|
|
void
|
|
|
|
void
|
|
|
|
FinishedViewStep::onInstallationFailed( const QString& message, const QString& details )
|
|
|
|
FinishedViewStep::onInstallationFailed( const QString& message, const QString& details )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_UNUSED(message);
|
|
|
|
Q_UNUSED( message );
|
|
|
|
Q_UNUSED(details);
|
|
|
|
Q_UNUSED( details );
|
|
|
|
installFailed = true;
|
|
|
|
installFailed = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|