mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
infoicons: avoid extern CInfoIcons; use getInstance() instead of this
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a34b06137
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Origin message was:
------------------
- infoicons: avoid extern CInfoIcons; use getInstance() instead of this
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -57,7 +57,6 @@ extern cVideo * videoDecoder;
|
||||
//NI
|
||||
#include <system/helpers.h>
|
||||
#include "gui/infoicons.h"
|
||||
extern CInfoIcons *InfoIcons; /* neutrino.cpp */
|
||||
|
||||
//NI
|
||||
#include "gui/update.h"
|
||||
@@ -4003,9 +4002,9 @@ void CControlAPI::InfoIconsCGI(CyhookHandler *hh)
|
||||
if (g_settings.mode_icons != remember_mode_icons)
|
||||
{
|
||||
if (remember_mode_icons)
|
||||
InfoIcons->enableInfoIcons(false);
|
||||
CInfoIcons::getInstance()->enableInfoIcons(false);
|
||||
else
|
||||
InfoIcons->enableInfoIcons(true);
|
||||
CInfoIcons::getInstance()->enableInfoIcons(true);
|
||||
}
|
||||
|
||||
hh->SendOk();
|
||||
|
Reference in New Issue
Block a user