Change QSslCertificate::toText() to return a QString.
authorRichard Moore <rich@kde.org>
Sun, 20 May 2012 12:31:55 +0000 (13:31 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 01:10:43 +0000 (03:10 +0200)
commit0b8021f5cb64d751c694b976d09b0f89017b14e4
treed276c6e2207c0d78603bf5e4d6b00c9c0d17a6e5
parent1f109a864b66ec5e4a540f78b75ff9bdad8b249b
Change QSslCertificate::toText() to return a QString.

A couple of people reviewing the toText() method (which is new in 5.0)
have said that since the string returned is human readable it should
be a QString not a QByteArray. This change follows their advice.

Change-Id: Ibade9a24870805f7fbe2d299abeb9c6e964f0cf4
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/network/ssl/qsslcertificate.cpp
src/network/ssl/qsslcertificate.h
src/network/ssl/qsslcertificate_p.h
tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp