mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Slight cleanup
This commit is contained in:
parent
5c734a80f8
commit
6d7fba1a6c
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,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(), "qbittorrent", 0);
|
||||
notification = notify_notification_new (qPrintable(title), qPrintable(msg), "qbittorrent", 0);
|
||||
gboolean success = notify_notification_show (notification, NULL);
|
||||
g_object_unref(G_OBJECT(notification));
|
||||
notify_uninit ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue