Commit dc828f67 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

Qt: epg: uninitialized members (cid #1049043, #1049042, #1049041)

parent 91ea82b7
......@@ -39,6 +39,7 @@ EPGRuler::EPGRuler( QWidget* parent )
setMinimumHeight( height() );
setMaximumHeight( height() );
m_offset = 0;
m_scale = 1.0;
}
void EPGRuler::setScale( double scale )
......
......@@ -85,6 +85,7 @@ EPGView::EPGView( QWidget *parent ) : QGraphicsView( parent )
m_startTime = QDateTime();
m_maxTime = m_startTime;
m_scaleFactor = 1.0;
EPGGraphicsScene *EPGscene = new EPGGraphicsScene( this );
......
......@@ -41,6 +41,7 @@
EPGWidget::EPGWidget( QWidget *parent ) : QWidget( parent )
{
b_input_type_known = false;
i_event_source_type = ITEM_TYPE_UNKNOWN;
m_rulerWidget = new EPGRuler( this );
m_epgView = new EPGView( this );
m_channelsWidget = new EPGChannels( this, m_epgView );
......
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