diff --git a/src/nodeitem.cpp b/src/nodeitem.cpp --- a/src/nodeitem.cpp +++ b/src/nodeitem.cpp @@ -72,6 +72,7 @@ void NodeItem::paint(QPainter *painter, } painter->setBrush(gradient); */ + option = NULL; // use assignment merely to obviate compilation warning painter->setBrush(brush); painter->setPen(Qt::NoPen);