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. --- displayreplay.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'displayreplay.h') diff --git a/displayreplay.h b/displayreplay.h index 2d160c6..bbedabf 100644 --- a/displayreplay.h +++ b/displayreplay.h @@ -9,7 +9,6 @@ class cNopacityDisplayReplay : public cSkinDisplayReplay , cThread{ private: cOsd *osd; - cImageCache *imgCache; bool initial; bool modeOnly; cString lastDate; @@ -40,8 +39,8 @@ private: void LoadControlIcons(void); void DrawScreenResolution(void); public: - cNopacityDisplayReplay(cImageCache *imgCache, bool ModeOnly); - virtual ~cNopacityDisplayReplay(); + cNopacityDisplayReplay(bool ModeOnly); + virtual ~cNopacityDisplayReplay(void); virtual void SetRecording(const cRecording *Recording); virtual void SetTitle(const char *Title); virtual void SetMode(bool Play, bool Forward, int Speed); -- cgit v1.2.3