plasma-desktop-5.12.0 bug report

David Binderman dcb314 at hotmail.com
Thu Feb 8 09:07:23 UTC 2018


Hello there,



plasma-desktop-5.12.0/kcms/kfontinst/lib/Misc.cpp:294]: (style) Same expression on both sides of '||'.

Source code is


    return "font/otf"==mime || "font/ttf"==mime ||
           "application/x-font-type1"==mime || "application/x-font-ttf"==mime ||
           "application/x-font-otf"==mime || "application/x-font-type1"==mime;

x-font-type1 gets mentioned twice. Suggest code rework.


Regards


David Binderman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180208/2f42a76a/attachment-0001.html>


More information about the Plasma-devel mailing list