Skip to content
Snippets Groups Projects
Unverified Commit 96a2c614 authored by mujx's avatar mujx Committed by GitHub
Browse files

Merge pull request #372 from bebehei/notification

Improvements to Linux notification manager
parents 3a917f7f c942a4b9
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ NotificationsManager::showNotification(const QString summary,
const QImage image)
{
QVariantMap hints;
hints["image_data"] = image;
hints["image-data"] = image;
QList<QVariant> argumentList;
argumentList << "nheko"; // app_name
argumentList << (uint)0; // replace_id
......@@ -62,7 +62,7 @@ NotificationsManager::showNotification(const QString summary,
argumentList << text; // body
argumentList << (QStringList("default") << "reply"); // actions
argumentList << hints; // hints
argumentList << (int)0; // timeout in ms
argumentList << (int)-1; // timeout in ms
static QDBusInterface notifyApp("org.freedesktop.Notifications",
"/org/freedesktop/Notifications",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment