From: Ivailo Monev Date: Fri, 1 Apr 2016 06:17:02 +0000 (+0000) Subject: syndication: fix build after 834866b9 X-Git-Tag: 4.22.0~892 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c4d7d641bf325cd0480ce4cc9010aafe9aebcf0d;p=kde%2Fkde-extraapps.git syndication: fix build after 834866b9 Signed-off-by: Ivailo Monev --- diff --git a/syndication/tools.cpp b/syndication/tools.cpp index eae7bbfb..648873b2 100644 --- a/syndication/tools.cpp +++ b/syndication/tools.cpp @@ -112,7 +112,8 @@ QString dateTimeToString(time_t date) QString calcMD5Sum(const QString& str) { - return QLatin1String(QCryptographicHash::hash(str.toUtf8(), QCryptographicHash::Md5).toHex()); + QByteArray hash = QCryptographicHash::hash(str.toUtf8(), QCryptographicHash::Md5); + return QLatin1String(hash.toHex().constData()); } QString resolveEntities(const QString& str)