]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Fix updater message: Download link instead of "use the system's update tool"
authorMichael Schuster <michael@schuster.ms>
Mon, 4 Nov 2019 18:19:59 +0000 (19:19 +0100)
committerMichael Schuster <michael@schuster.ms>
Mon, 4 Nov 2019 18:19:59 +0000 (19:19 +0100)
Provide a download link to the new version instead of the confusing message that
users should use their "system's update tool to install it".

Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/updater/ocupdater.cpp

index c9df44a7c026f7de0a5b4ca46b763de1e1744bc2..7db3e6ed0b180d27e3b50519016c47a012ce29ad 100644 (file)
@@ -148,7 +148,7 @@ QString OCUpdater::statusString() const
     case DownloadTimedOut:
         return tr("Could not check for new updates.");
     case UpdateOnlyAvailableThroughSystem:
-        return tr("New %1 version %2 available. Please use the system's update tool to install it.").arg(Theme::instance()->appNameGUI(), updateVersion);
+        return tr("New %1 version %2 is available. Please click <a href='%3'>here</a> to download the update.").arg(Theme::instance()->appNameGUI(), updateVersion, _updateInfo.web());
     case CheckingServer:
         return tr("Checking update server...");
     case Unknown: