From 6d7fba1a6cb3499bfcc922416a4cf196338b628f Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 6 Mar 2010 20:22:36 +0000 Subject: [PATCH] Slight cleanup --- src/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index fabe15130..b476e19a1 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -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 ();