| Summary: |
kcms/kfontinst/lib/Misc.cpp:294: strange if statement ? |
| Product: |
[Applications] systemsettings
|
Reporter: |
dcb314 |
| Component: |
kcm_fontinst | Assignee: |
Unassigned bugs <unassigned-bugs-null> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
nate, plasma-bugs-null, twinshadows404
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
5.12.0 | |
|
| Target Milestone: |
--- | |
|
| Platform: |
Other | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
https://invent.kde.org/plasma/plasma-workspace/commit/40abecde7d7ce0939a41e54cd264891319d2cb75
|
Version Fixed/Implemented In:
|
5.21
|
|
Sentry Crash Report:
|
|
| |
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.