[Kde-pim] Review Request: Fix for kdepimlibs compilation failures related to wrong argument passing of QByteArray

Allen Winter winter at kde.org
Sun Sep 11 00:43:57 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102433/#review6408
-----------------------------------------------------------


I don't know. the changes in icalformat_p.cpp scare me.  the calls to the C libical functions can be delicate.  If someone can test kcalcore and invitation attachments and tell me everything still works, then I'm ok with that part.  

- Allen


On Aug. 25, 2011, 2:07 p.m., Romário Rios wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102433/
> -----------------------------------------------------------
> 
> (Updated Aug. 25, 2011, 2:07 p.m.)
> 
> 
> Review request for KDEPIM.
> 
> 
> Summary
> -------
> 
> A lot of compilation erros like this one[http://paste.kde.org/114253 ] emerged when I tried to compile latest kdepimlibs master using latest Qt master. All of them happen when operator+ (or operator?) is used with a QByteArray as the argument of a function (making it return a bytearray stringbuilder), while the argument should be a const char * or a QString. This patch fixes them, making kdepimlibs compile.
> 
> 
> Diffs
> -----
> 
>   akonadi/contact/contactgroupsearchjob.cpp b845b61 
>   akonadi/contact/contactsearchjob.cpp 1dfe4d2 
>   akonadi/protocolhelper.cpp 187c74f 
>   kcal/icalformat_p.cpp 1685337 
>   kcalcore/icalformat_p.cpp 5938d02 
>   kcalutils/incidenceformatter.cpp 65bf74c 
>   kioslave/imap4/imap4.cpp 9b33d71 
>   kioslave/imap4/mimeheader.cpp 6bb6586 
>   kontactinterface/plugin.cpp 2b187f3 
>   kxmlrpcclient/query.cpp bcab7ea 
> 
> Diff: http://git.reviewboard.kde.org/r/102433/diff
> 
> 
> Testing
> -------
> 
> It compiles. And probably nothing changes in the behavior of the module, as I just made type conversions.
> 
> 
> Thanks,
> 
> Romário
> 
>

_______________________________________________
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