mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
update: remove dub entries and minor supplement for last commit
dub entries were showLocalStatus, showGlobalStatus.
Supplement was for
860e777104
update: remove unnecessary initialization on the heap
This commit is contained in:
@@ -418,8 +418,6 @@ bool CFlashUpdate::checkVersion4Update()
|
|||||||
|
|
||||||
dprintf(DEBUG_NORMAL, "[update] internet version: %s\n", newVersion.c_str());
|
dprintf(DEBUG_NORMAL, "[update] internet version: %s\n", newVersion.c_str());
|
||||||
|
|
||||||
showLocalStatus(100);
|
|
||||||
showGlobalStatus(20);
|
|
||||||
hide();
|
hide();
|
||||||
|
|
||||||
CFlashVersionInfo versionInfo(newVersion);
|
CFlashVersionInfo versionInfo(newVersion);
|
||||||
@@ -428,7 +426,7 @@ bool CFlashUpdate::checkVersion4Update()
|
|||||||
if (gotImage)
|
if (gotImage)
|
||||||
{
|
{
|
||||||
#if 0
|
#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))
|
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user