[Kde-bindings] Qyoto patch

Arno Rehn arno at arnorehn.de
Sun Aug 20 12:05:54 UTC 2006


Hi,

just worked out how to get the slots without arguments working (still quite 
funny, under SuSE 10.0 it worked, now with Gentoo I need this patch).
It's exactly one line, patch attached.

The problem was that if the custom slot had no arguments at all, then the 
function GetMocArgumentsNumber() in qyoto.cpp made mono crash.
The additional line just checks, if it has arguments at all and if not, it 
immediatly returns.

-- 
Arno Rehn
arno at arnorehn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mocargs.patch
Type: text/x-diff
Size: 535 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20060820/b0dd2db8/attachment.bin>


More information about the Kde-bindings mailing list