Changeset - c2effc315085
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-08-13 04:23:17
hy@ozderya.net
removed obviously unnecessary if statement
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/scalepicker.cpp
Show inline comments
 
@@ -192,8 +192,6 @@ void ScalePicker::drawScaleOverlay(QPain
 
{
 
    painter->save();
 
    painter->setPen(_pen);
 
    if (1)
 
    {
 

	
 
        if (_scaleWidget->alignment() == QwtScaleDraw::BottomScale ||
 
            _scaleWidget->alignment() == QwtScaleDraw::TopScale)
 
@@ -214,7 +212,7 @@ void ScalePicker::drawScaleOverlay(QPain
 
                painter->drawLine(0, currentPosPx, width, currentPosPx);
 
            }
 
        }
 
    }
 

	
 
    painter->restore();
 
}
 

	
0 comments (0 inline, 0 general)