Bug 366231 - kdeartwork-15.08.3/styles/phase/phasestyle.cpp:1326]: (style) Redundant condition
Summary: kdeartwork-15.08.3/styles/phase/phasestyle.cpp:1326]: (style) Redundant condi...
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-29 06:57 UTC by dcb314
Modified: 2020-09-29 04:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2016-07-29 06:57:04 UTC
kdeartwork-15.08.3/styles/phase/phasestyle.cpp:1326]: (style) Redundant condition: !vertical. 'vertical || (!vertical && pbar.direction==Qt::RightToLeft)' is equivalent to 'vertical || pbar.direction==Qt::RightToLeft'

Source code is

          bool reverse = (vertical ||
                          (!vertical && (pbar->direction==Qt::RightToLeft)));


Reproducible: Always
Comment 1 Nate Graham 2020-09-29 04:41:30 UTC
No longer relevant