summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 01eb97f..d87088d 100644
--- a/setup.c
+++ b/setup.c
@@ -13,7 +13,8 @@ cNopacitySetup::~cNopacitySetup() {
geoManager->SetGeometry();
delete fontManager;
fontManager = new cFontManager();
- imgCache->Reload();
+ delete imgCache;
+ imgCache = new cImageCache();
dsyslog("nopacity: Cache reloaded in %d ms", int(cTimeMs::Now()-start));
}