diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-07-31 01:41:02 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-31 01:42:02 +0200 |
commit | 3542ae76bf0cf8bbdfa73739ba92b0b2e32eaf35 (patch) | |
tree | 0c1b214f26546c09fe689e3d0a1d0300091d90e3 /src/daemon/daemon.cpp | |
parent | e169a4e3595ce1c66cb2cecc1a4963f93e415243 (diff) | |
download | kdbusnotification-3542ae76bf0cf8bbdfa73739ba92b0b2e32eaf35.tar.gz kdbusnotification-3542ae76bf0cf8bbdfa73739ba92b0b2e32eaf35.zip |
Fix message encoding in notifications
Diffstat (limited to 'src/daemon/daemon.cpp')
-rw-r--r-- | src/daemon/daemon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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; |