diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c602e15af..695faafb8 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1107,8 +1107,10 @@ void MainWindow::showNotificationBaloon(QString title, QString msg) const { "/org/freedesktop/Notifications", QDBusConnection::sessionBus()); if(notifications.isValid()) { + QVariantMap hints; + hints["desktop-entry"] = "qBittorrent"; QDBusPendingReply reply = notifications.Notify("qBittorrent", 0, "qbittorrent", title, - msg, QStringList(), QVariantMap(), -1); + msg, QStringList(), hints, -1); reply.waitForFinished(); if(!reply.isError()) return;