Bug 366231

Summary: kdeartwork-15.08.3/styles/phase/phasestyle.cpp:1326]: (style) Redundant condition
Product: [I don't know] kde Reporter: dcb314
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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