|
|
|
@ -809,7 +809,7 @@ void GUI::showNotificationBaloon(QString title, QString msg) const {
@@ -809,7 +809,7 @@ void GUI::showNotificationBaloon(QString title, QString msg) const {
|
|
|
|
|
#ifdef WITH_LIBNOTIFY |
|
|
|
|
if (notify_init ("summary-body")) { |
|
|
|
|
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; |
|
|
|
|
gboolean success = notify_notification_show (notification, &error); |
|
|
|
|
notify_uninit (); |
|
|
|
|