Permalink
Browse files

Initialise m_selectedItem in MythMenu, fixes #11035

  • Loading branch information...
stuartm committed Aug 27, 2012
1 parent b86b6e1 commit 56b3ef2d5bb96a89ea03984e103cf09dd78708cf
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythui/mythdialogbox.cpp
@@ -27,13 +27,13 @@ QEvent::Type DialogCompletionEvent::kEventType =
MythMenu::MythMenu(const QString &text, QObject *retobject, const QString &resultid) :
- m_parentMenu(NULL), m_title(""), m_text(text), m_resultid(resultid), m_retObject(retobject)
+ m_parentMenu(NULL), m_title(""), m_text(text), m_resultid(resultid), m_retObject(retobject), m_selectedItem(0)
{
Init();
}
MythMenu::MythMenu(const QString &title, const QString &text, QObject *retobject, const QString &resultid) :
- m_parentMenu(NULL), m_title(title), m_text(text), m_resultid(resultid), m_retObject(retobject)
+ m_parentMenu(NULL), m_title(title), m_text(text), m_resultid(resultid), m_retObject(retobject), m_selectedItem(0)
{
Init();
}

0 comments on commit 56b3ef2

Please sign in to comment.