Skip to content

Commit

Permalink
MythArchive: fix Coverity ID 1026725 Uninitialized pointer field
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Harrison committed Jun 3, 2013
1 parent af0433b commit 08b82b1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions mythplugins/mytharchive/mytharchive/videoselector.cpp
Expand Up @@ -25,12 +25,14 @@
using namespace std;

VideoSelector::VideoSelector(MythScreenStack *parent, QList<ArchiveItem *> *archiveList)
:MythScreenType(parent, "VideoSelector")
:MythScreenType(parent, "VideoSelector"),
m_archiveList(archiveList), m_videoList(NULL),
m_currentParentalLevel(ParentalLevel::plNone),
m_plText(NULL), m_videoButtonList(NULL), m_warningText(),
m_okButton(NULL), m_cancelButton(NULL), m_categorySelector(NULL),
m_titleText(NULL), m_filesizeText(NULL), m_plotText(NULL),
m_coverImage(NULL)
{
m_archiveList = archiveList;
m_currentParentalLevel = ParentalLevel::plNone;
m_videoList = NULL;

m_parentalLevelChecker = new ParentalLevelChangeChecker();
connect(m_parentalLevelChecker, SIGNAL(SigResultReady(bool, ParentalLevel::Level)),
this, SLOT(parentalLevelChanged(bool, ParentalLevel::Level)));
Expand Down

0 comments on commit 08b82b1

Please sign in to comment.