mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 15:04:21 +00:00
[Coverity] Remove redundant if() check where both branches are identical
This commit is contained in:
1 file changed
+1
-4
@@ -2027,10 +2027,7 @@ void RDStyle::drawControl(ControlElement control, const QStyleOption *opt, QPain
|
||||
poly << pt;
|
||||
|
||||
pt.setX(arrowRect.center().x());
|
||||
if(header->sortIndicator == QStyleOptionHeader::SortDown)
|
||||
pt.setY(ycentre - yoffset);
|
||||
else
|
||||
pt.setY(ycentre - yoffset);
|
||||
pt.setY(ycentre - yoffset);
|
||||
poly << pt;
|
||||
|
||||
pt.setX(arrowRect.right() - penWidth);
|
||||
|
||||
Reference in new issue
Block a user