plasma-desktop-5.12.0 bug report

Marco Martin notmart at gmail.com
Thu Feb 8 16:22:11 UTC 2018


Hi,
thanks for the report!
however, please consider to use bugzilla at bugs.kde.org
product: plasmashell

On giovedì 8 febbraio 2018 10:07:23 CET David Binderman wrote:
> 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


-- 
Marco Martin


More information about the Plasma-devel mailing list