Review Request 109852: Restore printing tp-qt version and fix it for debug kdelibs

Àlex Fiestas afiestas at kde.org
Thu Apr 4 11:18:58 UTC 2013


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


Tested in an environment where previously it crashed, now it is working fine !

- Àlex Fiestas


On April 4, 2013, 9:14 a.m., Daniele E. Domenichelli wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109852/
> -----------------------------------------------------------
> 
> (Updated April 4, 2013, 9:14 a.m.)
> 
> 
> Review request for Telepathy, Aleix Pol Gonzalez and David Edmundson.
> 
> 
> Description
> -------
> 
> Restore printing tp-qt version and fix it for debug kdelibs
> 
> Commit 6cbefb04441bab0d25dde78d95a2adee4d163fd5 "Prevent crashes with
> debug kdelibs" should probably have been reverting commit
> 58d7eb5a461bc597455065da3a4cd813e4f0a15a "Print tp-qt library name and
> version in tp-qt debug"
> 
> If the line cannot be printed, it doesn't make sense to keep the extra
> string and the extra check.
> 
> Anyway the problem seem to come with a Q_ASSERT_X in kdelibs that
> searches for "(" (see kdelibs kdecore/io/kdebug.cpp.html:577)
> 
> This patch restore the previous behaviour, and should fix the crash.
> 
> Also add a ":" to the string, because I realized that everything that
> comes before the white space is stripped away, so now it prints
> something like "tp-qt:0.9.3.1"
> 
> 
> Diffs
> -----
> 
>   KTp/debug.cpp adad3fbad2456379d0f0775fc701904316479f68 
> 
> Diff: http://git.reviewboard.kde.org/r/109852/diff/
> 
> 
> Testing
> -------
> 
> I don't have kdelibs built with debug, so please test it if you have.
> 
> 
> Thanks,
> 
> Daniele E. Domenichelli
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130404/40ad33a6/attachment.html>


More information about the KDE-Telepathy mailing list