Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reintroduce drawing of arrow in echo effect gui

  • Loading branch information...
commit 6e071466d803277b67819b3e65fa4af8a01fbe60 1 parent 6bbb6c5
@laudrup authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 creox/effects_gui/crechotapsview.cpp
View
14 creox/effects_gui/crechotapsview.cpp
@@ -177,13 +177,13 @@ void CrEchoTapsView::drawEchoTap(const float delay, const float decay, const Tap
pen.setWidth(0);
painter->setPen(pen);
}
- // XXX!
- /*
- painter->moveTo(arrowPos);
- painter->lineTo(arrowPos.x() - 2, arrowPos.y() - 2);
- painter->lineTo(arrowPos.x() + 2, arrowPos.y() - 2);
- painter->lineTo(arrowPos);
- */
+ QPainterPath path;
+ path.moveTo(arrowPos);
+ path.lineTo(arrowPos.x() - 2, arrowPos.y() - 2);
+ path.lineTo(arrowPos.x() + 2, arrowPos.y() - 2);
+ path.lineTo(arrowPos);
+ painter->drawPath(path);
+
painter->restore();
}
Please sign in to comment.
Something went wrong with that request. Please try again.