From 48150be14748717830e42afd548925fde1ef9916 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 5 Jul 2021 15:22:04 +0200 Subject: Cosmetic changes --- displaymenu.h | 3 +-- displayvolume.c | 2 +- helpers.c | 3 +-- helpers.h | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/displaymenu.h b/displaymenu.h index 640e970..7323778 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -3,7 +3,6 @@ #include "nopacity.h" #include "menuitem.h" -#include "imagecache.h" #include #include @@ -41,7 +40,7 @@ protected: int Tab(int n); public: #ifdef DEPRECATED_SKIN_SETITEMEVENT - using cSkinDisplayMenu::SetItemEvent; + using cSkinDisplayMenu::SetItemEvent; #endif cNopacityDisplayMenu(void); virtual ~cNopacityDisplayMenu(void); diff --git a/displayvolume.c b/displayvolume.c index 9d90607..bb0293a 100644 --- a/displayvolume.c +++ b/displayvolume.c @@ -50,7 +50,7 @@ cNopacityDisplayVolume::cNopacityDisplayVolume(void) : cThread("DisplayVolume") pixmapProgressBar = osd->CreatePixmap(2, cRect((geoManager->volumeWidth - geoManager->volumeProgressBarWidth) / 2, (geoManager->volumeHeight - geoManager->volumeProgressBarHeight)*2/3, geoManager->volumeProgressBarWidth, geoManager->volumeProgressBarHeight)); } -cNopacityDisplayVolume::~cNopacityDisplayVolume() { +cNopacityDisplayVolume::~cNopacityDisplayVolume(void) { if (config.GetValue("volumeFadeOutTime")) { fadeout = true; Start(); diff --git a/helpers.c b/helpers.c index 459fad7..7524a58 100644 --- a/helpers.c +++ b/helpers.c @@ -164,8 +164,7 @@ std::vector& splitstring::split(char delim, int rep) { cPlugin *GetScraperPlugin(void) { static cPlugin *pScraper = cPluginManager::GetPlugin("scraper2vdr"); - if( !pScraper ) // if it doesn't exit, try tvscraper + if (!pScraper ) // if it doesn't exit, try tvscraper pScraper = cPluginManager::GetPlugin("tvscraper"); return pScraper; } - diff --git a/helpers.h b/helpers.h index c3e3eaf..af2a58b 100644 --- a/helpers.h +++ b/helpers.h @@ -21,4 +21,5 @@ public: }; cPlugin *GetScraperPlugin(void); + #endif // __HELPERS_H -- cgit v1.2.3