From 3542ae76bf0cf8bbdfa73739ba92b0b2e32eaf35 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Wed, 31 Jul 2013 01:41:02 +0200 Subject: Fix message encoding in notifications --- src/daemon/daemon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 7eb59d6..1c582ab 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -231,9 +231,10 @@ notify_daemon_notify_handler(NotifyDaemon *daemon, } // Send a notification request to KDE here... - TQString messageText = TQString(body); + TQString messageCaption = TQString::fromLocal8Bit(summary); + TQString messageText = TQString::fromLocal8Bit(body); - GTKNotifierContainer->displayMessage(TQString(summary), TQString(body), TQString(icon), x, y); + GTKNotifierContainer->displayMessage(messageCaption, messageText, TQString(icon), x, y); return_id = 0; -- cgit v1.2.1