Skip to content

Commit

Permalink
Fixed strange Linear Gradient behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
masc4ii committed Sep 28, 2018
1 parent a7c76a0 commit e74ad79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/qt/GradientElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void GradientElement::setStrechFactorY(double factor)
//Get the start position from the class
QPointF GradientElement::getStartPos()
{
QPoint pos;
QPointF pos;
pos.setX( m_startX );
pos.setY( m_startY );
return pos;
Expand All @@ -101,7 +101,7 @@ QPointF GradientElement::getStartPos()
//Get the final position from the class
QPointF GradientElement::getFinalPos()
{
QPoint pos;
QPointF pos;
pos.setX( m_endX );
pos.setY( m_endY );
return pos;
Expand Down

0 comments on commit e74ad79

Please sign in to comment.