Permalink
Browse files

Reintroduce drawing of arrow in echo effect gui

  • Loading branch information...
laudrup committed Jun 29, 2011
1 parent 6bbb6c5 commit 6e071466d803277b67819b3e65fa4af8a01fbe60
Showing with 7 additions and 7 deletions.
  1. +7 −7 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();
}

0 comments on commit 6e07146

Please sign in to comment.