Skip to content

Commit e3fd20c

Browse files
committed
Add optional argument to MythNotification constructor: details
1 parent eda5993 commit e3fd20c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mythtv/libs/libmythui/mythnotification.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ class MUI_PUBLIC MythNotification : public MythEvent
4040
{
4141
}
4242

43-
MythNotification(QString title, QString author)
43+
MythNotification(QString title, QString author, QString details = QString())
4444
: MythEvent(New), m_id(-1), m_parent(NULL), m_fullScreen(false),
4545
m_description(title), m_duration(0), m_visibility(kAll),
4646
m_priority(kDefault)
4747
{
4848
DMAP map;
4949
map["minm"] = title;
5050
map["asar"] = author;
51+
map["asal"] = details;
5152
m_metadata = map;
5253
}
5354

0 commit comments

Comments
 (0)