summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-05 16:25:26 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-10 17:50:17 +0100
commit744efdd79f7bae6ad3204ea7b06e382df59d7636 (patch)
treeafcdf5eece2572f0d24879162e6ee03cdaa8adc9 /setup.c
parent1d6f6a764e1e8b4f66476668828295418448eb7e (diff)
downloadskin-nopacity-744efdd79f7bae6ad3204ea7b06e382df59d7636.tar.gz
skin-nopacity-744efdd79f7bae6ad3204ea7b06e382df59d7636.tar.bz2
Add cNopacityConfig::.Init()
In Init() all necessary functions are collected in order to properly initialize the skin. These functions can then be made private in this class. This can also simplify cNopacity::ReloadCaches().
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.c b/setup.c
index d87088d..a9135fb 100644
--- a/setup.c
+++ b/setup.c
@@ -7,9 +7,9 @@ cNopacitySetup::cNopacitySetup(void) {
Setup();
}
-cNopacitySetup::~cNopacitySetup() {
- config.SetFontName();
+cNopacitySetup::~cNopacitySetup(void) {
int start = cTimeMs::Now();
+ config.SetFontName();
geoManager->SetGeometry();
delete fontManager;
fontManager = new cFontManager();