diff --git a/src/qcanvasarrow.h b/src/qcanvasarrow.h --- a/src/qcanvasarrow.h +++ b/src/qcanvasarrow.h @@ -35,9 +35,6 @@ class QGraphicsArrowItem : public QGraph void paint ( QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *widget ) { - widget = NULL; //use assignment merely to obviate compilation warning - option = NULL; - // construct arrow head QPointF start=line().p1(); QPointF end=line().p2();