mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
- Added qBittorrent icon to libnotify notifications
This commit is contained in:
parent
5d33e3033b
commit
672a83cfc4
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ void GUI::showNotificationBaloon(QString title, QString msg) const {
|
||||||
#ifdef WITH_LIBNOTIFY
|
#ifdef WITH_LIBNOTIFY
|
||||||
if (notify_init ("summary-body")) {
|
if (notify_init ("summary-body")) {
|
||||||
NotifyNotification* notification;
|
NotifyNotification* notification;
|
||||||
notification = notify_notification_new (title.toLocal8Bit().data(), msg.toLocal8Bit().data(), 0, 0);
|
notification = notify_notification_new (title.toLocal8Bit().data(), msg.toLocal8Bit().data(), "qbittorrent", 0);
|
||||||
GError* error = 0;
|
GError* error = 0;
|
||||||
gboolean success = notify_notification_show (notification, &error);
|
gboolean success = notify_notification_show (notification, &error);
|
||||||
notify_uninit ();
|
notify_uninit ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue