Skip to content

Commit

Permalink
Remove aditional text when error occurs.
Browse files Browse the repository at this point in the history
Additional text was not user friendly since Sparkle throws an error when no new update is available.

Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Mar 4, 2025
1 parent e134c01 commit c9b0efd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/updater/sparkleupdater_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ - (void)updater:(nonnull SPUUpdater *)updater didAbortWithError:(nonnull NSError
{
Q_UNUSED(updater)

const auto errorQstring = QString::fromNSString(error.localizedDescription);
const auto message = QObject::tr("Aborted with error: %1", "%1 is version number").arg(errorQstring);
const auto message = QString::fromNSString(error.localizedDescription);
[self notifyStateChange:OCC::SparkleUpdater::State::Idle
displayStatus:message];
}
Expand Down

0 comments on commit c9b0efd

Please sign in to comment.