diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 1a64ef385..cb62cb75d 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -55,9 +55,6 @@ extern CPlugins * g_PluginList; -/* this is ugly, but at least it does not crash */ -CFanControlNotifier *fanNotifier; - CMiscMenue::CMiscMenue() { width = w_max (40, 10); diff --git a/src/gui/miscsettings_menu.h b/src/gui/miscsettings_menu.h index 0c3776a8c..3b1bbd951 100644 --- a/src/gui/miscsettings_menu.h +++ b/src/gui/miscsettings_menu.h @@ -39,6 +39,7 @@ class CMiscMenue : public CMenuTarget { private: + CFanControlNotifier *fanNotifier; int width, selected; void showMiscSettingsMenu(); @@ -53,7 +54,6 @@ class CMiscMenue : public CMenuTarget #if 0 void showMiscSettingsMenuEmLog(CMenuWidget *ms_emlog); #endif - public: CMiscMenue(); ~CMiscMenue();