Skip to content

Commit aa59013

Browse files
author
Robert McNamara
committed
Properly initialize variables in Channel data contract.
Caching implementation won't work without this.
1 parent 15a7daf commit aa59013

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mythtv/libs/libmythservicecontracts/datacontracts/programAndChannel.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ class SERVICE_PUBLIC ChannelInfo : public QObject
120120
m_SourceId ( 0 ),
121121
m_InputId ( 0 ),
122122
m_CommFree ( 0 ),
123+
m_UseEIT ( false ),
124+
m_Visible ( true ),
123125
m_SerializeDetails( true )
124126
{
125127
}
@@ -140,6 +142,8 @@ class SERVICE_PUBLIC ChannelInfo : public QObject
140142
m_SourceId = src.m_SourceId ;
141143
m_InputId = src.m_InputId ;
142144
m_CommFree = src.m_CommFree ;
145+
m_UseEIT = src.m_UseEIT ;
146+
m_Visible = src.m_Visible ;
143147

144148
CopyListContents< Program >( this, m_Programs, src.m_Programs );
145149
}

0 commit comments

Comments
 (0)