summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup.c b/setup.c
index 169e698..5258051 100644
--- a/setup.c
+++ b/setup.c
@@ -1,7 +1,6 @@
#include "setup.h"
-cNopacitySetup::cNopacitySetup(cImageCache *imgCache) {
- this->imgCache = imgCache;
+cNopacitySetup::cNopacitySetup(void) {
tmpConf = config;
cFont::GetAvailableFontNames(&fontNames);
fontNames.Insert(strdup(config.fontDefaultName));
@@ -73,7 +72,7 @@ eOSState cNopacitySetup::ProcessKey(eKeys Key) {
if (strcmp(ItemText, tr("Volume")) == 0)
state = AddSubMenu(new cNopacitySetupVolumeDisplay(&tmpConf));
if (strcmp(ItemText, tr("Image Caching")) == 0)
- state = AddSubMenu(new cNopacitySetupCaching(&tmpConf, imgCache));
+ state = AddSubMenu(new cNopacitySetupCaching(&tmpConf));
}
}
return state;
@@ -505,8 +504,7 @@ void cNopacitySetupVolumeDisplay::Set(void) {
//-----Image Caching-------------------------------------------------------------------------------------------------------------
-cNopacitySetupCaching::cNopacitySetupCaching(cNopacityConfig* data, cImageCache *imgCache) : cMenuSetupSubMenu(tr("Image Caching"), data) {
- this->imgCache = imgCache;
+cNopacitySetupCaching::cNopacitySetupCaching(cNopacityConfig* data) : cMenuSetupSubMenu(tr("Image Caching"), data) {
Set();
}
@@ -530,4 +528,4 @@ void cNopacitySetupCaching::Set(void) {
SetCurrent(Get(currentItem));
Display();
-} \ No newline at end of file
+}