Skip to content

Commit

Permalink
Add optional argument to MythNotification constructor: details
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 1, 2013
1 parent eda5993 commit e3fd20c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythui/mythnotification.h
Expand Up @@ -40,14 +40,15 @@ class MUI_PUBLIC MythNotification : public MythEvent
{
}

MythNotification(QString title, QString author)
MythNotification(QString title, QString author, QString details = QString())
: MythEvent(New), m_id(-1), m_parent(NULL), m_fullScreen(false),
m_description(title), m_duration(0), m_visibility(kAll),
m_priority(kDefault)
{
DMAP map;
map["minm"] = title;
map["asar"] = author;
map["asal"] = details;
m_metadata = map;
}

Expand Down

0 comments on commit e3fd20c

Please sign in to comment.