From c9fbe3b4c1bda4f9e33cbb205d0680a414498027 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 27 Mar 2023 10:35:52 +0200 Subject: [PATCH] update: remove dub entries and minor supplement for last commit dub entries were showLocalStatus, showGlobalStatus. Supplement was for 860e777104f9ab84705fe2591cc8af5f1654925f update: remove unnecessary initialization on the heap --- src/gui/update.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 0d8caa5b5..db061a0a9 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -418,8 +418,6 @@ bool CFlashUpdate::checkVersion4Update() dprintf(DEBUG_NORMAL, "[update] internet version: %s\n", newVersion.c_str()); - showLocalStatus(100); - showGlobalStatus(20); hide(); CFlashVersionInfo versionInfo(newVersion); @@ -428,7 +426,7 @@ bool CFlashUpdate::checkVersion4Update() if (gotImage) { #if 0 - if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) && + if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo.getReleaseCycle(), 2) != 0) && (ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes)) { return false;