From afbcccf7850d26b94a2111f09f217c6d5e8ee524 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 14 May 2024 12:51:32 +0200 Subject: [PATCH] Minor: add comment about index shift: 4 -> 5 --- UpdatePTUDevCtrl/update.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UpdatePTUDevCtrl/update.cpp b/UpdatePTUDevCtrl/update.cpp index 93c5457..0b5cc14 100644 --- a/UpdatePTUDevCtrl/update.cpp +++ b/UpdatePTUDevCtrl/update.cpp @@ -651,6 +651,7 @@ bool Update::checkDownloadedJsonVersions(QStringList const& jsonFileNames) { bool ok = false; int n = captured.toInt(&ok); if (ok) { + // note: the '5' is correct jsonNr = n + 5; } }