syndication: fix build after 834866b9

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-04-01 06:17:02 +00:00
parent 834866b93f
commit c4d7d641bf

View file

@ -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)