[Kde-pim] [PATCH] Fix a D-Bus assert in libkleo

Alex Merry huntedhacker at tiscali.co.uk
Mon Jul 14 11:40:42 BST 2008


Currently, when configuring the security section of KMail, clicking Configure 
in the Crypto Backends tab and then clicking OK results in an assert in D-Bus:

arguments to dbus_message_new_signal() were incorrect, assertion "path != 
NULL"

Using the backtrace, I found the problem was that QString() was being passed 
as the path to QDBusMessage::createSignal() at line 316 of 
backendconfigwidget.cpp in libkleo/ui.

The attached patch changes it to "/", fixing the assert.

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libkleo-dbus-signal.diff
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080714/743811ae/attachment.bin>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list