mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CThemes: inherit CColorSetupNotifier into CThemes
Avoids explicit init of CColorSetupNotifier objects.
This commit is contained in:
@@ -28,11 +28,10 @@
|
||||
#include <configfile.h>
|
||||
#include <system/setting_helpers.h>
|
||||
|
||||
class CThemes : public CMenuTarget, CChangeObserver
|
||||
class CThemes : public CMenuTarget, CColorSetupNotifier
|
||||
{
|
||||
private:
|
||||
CConfigFile themefile;
|
||||
CColorSetupNotifier *notifier;
|
||||
|
||||
int width;
|
||||
SNeutrinoTheme oldTheme;
|
||||
|
Reference in New Issue
Block a user