From 03337e57fdd83344d9b24ffcad394e76d5f92007 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Tue, 16 Feb 2021 13:57:27 +0100 Subject: Make imgCache global Make imgcache global so that it doesn't always have to be passed explicitly to other functions. --- nopacity.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nopacity.h') diff --git a/nopacity.h b/nopacity.h index b7db796..fc36af9 100644 --- a/nopacity.h +++ b/nopacity.h @@ -9,11 +9,10 @@ class cNopacityDisplayMenu; class cNopacity : public cSkin { private: - cImageCache *imgCache; bool init; void ReloadCaches(void); public: - cNopacity(cImageCache *imgCache); + cNopacity(void); ~cNopacity(void); virtual const char *Description(void); virtual cSkinDisplayChannel *DisplayChannel(bool WithInfo); -- cgit v1.2.3