Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>2022-09-28 12:41:23 +0300
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>2022-10-12 13:13:45 +0300
commita36672c1a4c13d50017c2c5629d3a4e5e55131b9 (patch)
tree2c8abbb86b28b8a1cff05bda15013c413a6bbc86
parent146bd44b09d98be5df7bcb5a878ea55a94bf3b65 (diff)
fix review comments
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
-rw-r--r--src/gui/updater/ocupdater.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp
index 7454f62a1..b44a0d18a 100644
--- a/src/gui/updater/ocupdater.cpp
+++ b/src/gui/updater/ocupdater.cpp
@@ -259,7 +259,7 @@ bool OCUpdater::updateSucceeded() const
void OCUpdater::slotVersionInfoArrived()
{
- qCInfo(lcUpdater()) << "received a reply";
+ qCDebug(lcUpdater) << "received a reply";
_timeoutWatchdog->stop();
auto *reply = qobject_cast<QNetworkReply *>(sender());
reply->deleteLater();
@@ -360,14 +360,14 @@ void NSISUpdater::versionInfoArrived(const UpdateInfo &info)
qCInfo(lcUpdater) << "No version information available at the moment";
setDownloadState(UpToDate);
} else {
- qint64 currentVer = Helper::currentVersionToInt();
- qint64 remoteVer = Helper::stringVersionToInt(info.version());
+ const auto currentVer = Helper::currentVersionToInt();
+ const auto remoteVer = Helper::stringVersionToInt(info.version());
if (info.version().isEmpty() || currentVer >= remoteVer) {
qCInfo(lcUpdater) << "Client is on latest version!";
setDownloadState(UpToDate);
} else {
- QString url = info.downloadUrl();
+ const auto url = info.downloadUrl();
if (url.isEmpty()) {
showNoUrlDialog(info);
} else {