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

Commit Hook null at kde.org
Thu Apr 4 13:58:28 UTC 2013


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

(Updated April 4, 2013, 1:58 p.m.)


Status
------

This change has been marked as submitted.


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/f71a2729/attachment-0001.html>


More information about the KDE-Telepathy mailing list