From: Olivier Goffart Date: Mon, 21 Oct 2019 11:11:37 +0000 (+0200) Subject: Updater: Fix Version numer not shown in the user visible string X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~46^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1bf895cadcf7b3d1a683f8df34144533c3d1ee25;p=nextcloud-desktop.git Updater: Fix Version numer not shown in the user visible string There was one argument too many in the string. Bug was introduced in commit 21ac396b Issue: #7288 --- diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp index 5b25ce5b8..3c379e9c3 100644 --- a/src/gui/updater/ocupdater.cpp +++ b/src/gui/updater/ocupdater.cpp @@ -147,7 +147,7 @@ QString OCUpdater::statusString() const case Downloading: return tr("Downloading %1. Please wait …").arg(updateVersion); case DownloadComplete: - return tr("%1 available. Restart application to start the update.").arg(Theme::instance()->appNameGUI(), updateVersion); + return tr("%1 available. Restart application to start the update.").arg(updateVersion); case DownloadFailed: return tr("Could not download update. Please click here to download the update manually.").arg(_updateInfo.web()); case DownloadTimedOut: