Permalink
Browse files

MythArchive: fix Coverity ID 1026725 Uninitialized pointer field

  • Loading branch information...
Paul Harrison
Paul Harrison committed Jun 3, 2013
1 parent af0433b commit 08b82b1eb201572a7c81adf18ccbcb518ebb4311
Showing with 7 additions and 5 deletions.
  1. +7 −5 mythplugins/mytharchive/mytharchive/videoselector.cpp
@@ -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)));

0 comments on commit 08b82b1

Please sign in to comment.