From 5d9bbaef8c965aafb2b10f886aa4402282ae6820 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Wed, 3 Mar 2021 14:11:49 +0100 Subject: Cleanup cNopacity::cNopacity(void) config.SetThemeSpecificDefaults(), config.SetThemeSetup(), config.SetFontName(), geoManager->SetGeometry(), fontManager->SetFonts(), imgCache->CreateCache() and imgCache->CreateCacheDelayed() is no longer required here. config.LoadThemeSpecificConfigs() and config.SetPathes() was moved to cNopacity::ReloadCaches(void). --- nopacity.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nopacity.c b/nopacity.c index eb0e650..3ca77d9 100644 --- a/nopacity.c +++ b/nopacity.c @@ -12,13 +12,7 @@ #include "displaymessage.h" cNopacity::cNopacity(void) : cSkin("nOpacity", &::Theme) { - config.LoadThemeSpecificConfigs(); - config.SetThemeSpecificDefaults(); - config.SetThemeSetup(); - config.SetPathes(); - config.SetFontName(); geoManager = new cGeometryManager(); - geoManager->SetGeometry(); fontManager = NULL; imgCache = NULL; } -- cgit v1.2.3