qt: Fix build warning 'QFlags<Qt::MouseButton>::QFlags'
Use default constructor instead.
This commit is contained in:
parent
240dca3c5b
commit
472b184566
|
@ -37,7 +37,7 @@ PieceItem::PieceItem(QGraphicsItem *parent) :
|
|||
|
||||
//setAcceptedMouseButtons(Qt::LeftButton);
|
||||
|
||||
setAcceptedMouseButtons(nullptr);
|
||||
setAcceptedMouseButtons(Qt::MouseButtons());
|
||||
//setAcceptHoverEvents(true);
|
||||
|
||||
model = Models::noPiece;
|
||||
|
|
Loading…
Reference in New Issue