summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--displaychannel.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/displaychannel.c b/displaychannel.c
index 84257db..3d4eed8 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -30,14 +30,10 @@ cNopacityDisplayChannel::~cNopacityDisplayChannel() {
Cancel(-1);
while (Active())
cCondWait::SleepMs(10);
- if (channelView)
- delete channelView;
+ delete channelView;
}
void cNopacityDisplayChannel::SetChannel(const cChannel *Channel, int Number) {
- if (!channelView)
- return;
-
channelChange = true;
groupSep = false;
@@ -77,8 +73,6 @@ void cNopacityDisplayChannel::SetChannel(const cChannel *Channel, int Number) {
}
void cNopacityDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Following) {
- if (!channelView)
- return;
present = Present;
following = Following;
channelView->ClearProgressBar();
@@ -103,8 +97,6 @@ void cNopacityDisplayChannel::SetProgressBar(const cEvent *present) {
void cNopacityDisplayChannel::SetMessage(eMessageType Type, const char *Text) {
- if (!channelView)
- return;
channelView->ClearChannelLogo();
channelView->ClearChannelName();
channelView->ClearEPGInfo();
@@ -117,8 +109,6 @@ void cNopacityDisplayChannel::SetMessage(eMessageType Type, const char *Text) {
}
void cNopacityDisplayChannel::Flush(void) {
- if (!channelView)
- return;
if (initial || channelChange)
channelView->DrawDate();