plasma-desktop-5.10.5/kcms/kfontinst/kcmfontinst/FontList.cpp:1415: suspicious if ?

David Binderman dcb314 at hotmail.com
Wed Aug 23 09:25:31 UTC 2017


Hello there,

plasma-desktop-5.10.5/kcms/kfontinst/kcmfontinst/FontList.cpp:1415]: (style) Same expression on both sides of '||'.

Source code is

    if(!Misc::app(KFI_VIEWER).isEmpty() || !Misc::app(KFI_VIEWER).isEmpty())

Suggest code rework.

Regards

David Binderman


More information about the Plasma-devel mailing list