added a second test notification
This commit is contained in:
parent
523c2ca18c
commit
77a290d82f
|
@ -90,6 +90,7 @@ void TrayIcon::slotTestNotification()
|
||||||
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"));
|
n.addAction(Action(1,"Test Action"));
|
||||||
m_snore->broadcastNotification(n);
|
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);
|
m_snore->deregisterApplication(app);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue