diff --git a/src/ui/qt/pieceitem.cpp b/src/ui/qt/pieceitem.cpp index 756afe1c..5e444bdc 100644 --- a/src/ui/qt/pieceitem.cpp +++ b/src/ui/qt/pieceitem.cpp @@ -37,7 +37,7 @@ PieceItem::PieceItem(QGraphicsItem *parent) : //setAcceptedMouseButtons(Qt::LeftButton); - setAcceptedMouseButtons(nullptr); + setAcceptedMouseButtons(Qt::MouseButtons()); //setAcceptHoverEvents(true); model = Models::noPiece;