D22122: use pwquality_strerror to get error strings

Anthony Fieroni noreply at phabricator.kde.org
Thu Jun 27 15:52:51 BST 2019


anthonyfieroni added inline comments.

INLINE COMMENTS

> passworddialog.cpp:157
> +    const QString errorString =
> +            QString::fromLatin1(pwquality_strerror(buf, PWQ_MAX_ERROR_MESSAGE_LEN,
> +                                                   error, auxerror));

Shouldn't be fromUtf8 ? You can't handle all languages by latin.

REPOSITORY
  R128 User Manager

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

To: sitter, #plasma
Cc: anthonyfieroni, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190627/2b3de8a0/attachment-0001.html>


More information about the Plasma-devel mailing list