Updater: Fix Version numer not shown in the user visible string
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 21 Oct 2019 11:11:37 +0000 (13:11 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 24 Nov 2020 18:22:33 +0000 (18:22 +0000)
There was one argument too many in the string.
Bug was introduced in commit 21ac396b

Issue: #7288

src/gui/updater/ocupdater.cpp

index 5b25ce5b81d816b5c4a13555451cdd536b0e8896..3c379e9c36878c3cc50d071221854ed4dfd021f6 100644 (file)
@@ -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 <a href='%1'>here</a> to download the update manually.").arg(_updateInfo.web());
     case DownloadTimedOut: