[Differential] [Changed Subscribers] D3672: Akonadi: avoid 100% CPU on reading corrupt files.

mlaurent (Laurent Montel) noreply at phabricator.kde.org
Wed Dec 14 10:22:39 GMT 2016


mlaurent added inline comments.

INLINE COMMENTS

> changerecorder_p.cpp:165
> +        if (stream.status() != QDataStream::Ok) {
> +            qWarning() << "Error reading saved notifications! Aborting. Corrupt file:" << device->fileName();
> +            break;

I can't speak about code but could you use qCWarning(....) here (and replace other qWarning too) please :)
thanks

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D3672

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: dfaure, dvratil
Cc: mlaurent, kde-pim, spencerb, dvasin, winterz, vkrause, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20161214/e04714a9/attachment.html>


More information about the kde-pim mailing list