mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-26 23:10:39 +00:00
Do not emit test msg
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
parent
8656195205
commit
2c0b8bed16
@ -116,7 +116,7 @@ bool SnoreCorePrivate::setBackendIfAvailible(const QString &backend)
|
||||
});
|
||||
emit q->primaryNotificationBackendChanged(b->name());
|
||||
|
||||
Application app = SnoreCorePrivate::instance()->defaultApplication();
|
||||
/*Application app = SnoreCorePrivate::instance()->defaultApplication();
|
||||
QString text = QLatin1String("<i>") + tr("This is %1").arg(app.name()) + QLatin1String("</i><br>"
|
||||
"<b>") + tr("Everything is awesome!") + QLatin1String("</b><br>");
|
||||
if (!app.constHints().value("use-markup").toBool()) {
|
||||
@ -125,7 +125,7 @@ bool SnoreCorePrivate::setBackendIfAvailible(const QString &backend)
|
||||
Notification noti(app, app.defaultAlert(), tr("Hello There!"), text, app.icon());
|
||||
noti.addAction(Action(1, tr("Awesome Action!")));
|
||||
|
||||
m_notificationBackend->slotNotify(noti);
|
||||
m_notificationBackend->slotNotify(noti);*/
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user