From 06aec40a258651b2f5bcb633b9c698c007b76166 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 5 Jan 2020 21:17:59 +0100 Subject: [PATCH] CBouquetList/CMenuWidget: use block() instead disableInfoClock() --- src/gui/bouquetlist.cpp | 2 +- src/gui/widget/menue.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index f252002c8..ba86db0bd 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -723,7 +723,7 @@ void CBouquetList::paintHead() void CBouquetList::paint() { //ensure stop info clock before paint this window - CInfoClock::getInstance()->disableInfoClock(); + CInfoClock::getInstance()->block(); liststart = (selected/listmaxshow)*listmaxshow; int lastnum = liststart + listmaxshow; diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 4a17c7122..0ea808c89 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1408,7 +1408,7 @@ void CMenuWidget::paint() } if (CInfoClock::getInstance()->isRun()) - CInfoClock::getInstance()->disableInfoClock(); + CInfoClock::getInstance()->block(); calcSize();