CThemes: inherit CColorSetupNotifier into CThemes

Avoids explicit init of CColorSetupNotifier objects.
This commit is contained in:
2018-04-11 16:12:03 +02:00
parent 819c54e240
commit 953028ae82
2 changed files with 5 additions and 12 deletions

View File

@@ -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;