Commit bd7d05ca authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: epg: clear text on reset

parent ab494fd2
......@@ -85,6 +85,7 @@ void EPGWidget::reset()
{
m_channelsWidget->reset();
m_epgView->reset();
emit itemSelectionChanged( NULL );
}
void EPGWidget::setZoom( int level )
......
......@@ -127,7 +127,13 @@ void EpgDialog::scheduleUpdate()
void EpgDialog::displayEvent( EPGItem *epgItem )
{
if( !epgItem ) return;
if( !epgItem )
{
title->clear();
description->clear();
return;
}
QDateTime end = epgItem->start().addSecs( epgItem->duration() );
title->setText( QString("%1 - %2 : %3%4")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment