From 77a290d82f8c1249ad0b7d50b545bdecbc93b52f Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 15 Jan 2014 11:41:30 +0100 Subject: [PATCH] added a second test notification --- src/trayicon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trayicon.cpp b/src/trayicon.cpp index b685a1d..ca53494 100644 --- a/src/trayicon.cpp +++ b/src/trayicon.cpp @@ -87,9 +87,10 @@ void TrayIcon::slotTestNotification() { const Application &app = m_snore->d()->defaultApplication(); m_snore->registerApplication(app); - Notification n(app, *app.alerts().begin(), "Hello World", "This is Snore", Icon(":/root/snore.png")); + Notification n(app, *app.alerts().begin(), "Hello World", "This is Snore", Icon(":/root/snore.png")); n.addAction(Action(1,"Test Action")); m_snore->broadcastNotification(n); + m_snore->broadcastNotification(Notification(app, *app.alerts().begin(), "Hello World", "This is Snore, color test", Icon("http://jweatherwatch.googlecode.com/svn/trunk/iconset/04.png"))); m_snore->deregisterApplication(app); }