TechDraw: [skip ci] fix -Wconstant-logical-operand

This commit is contained in:
wmayer
2020-05-12 13:25:27 +02:00
parent b9fc0fb8d4
commit 1bd131250a

View File

@@ -80,7 +80,7 @@ void QGIGhostHighlight::mousePressEvent(QGraphicsSceneMouseEvent * event)
{
// Base::Console().Message("QGIGhostHighlight::mousePress() - %X\n", this);
if ( (event->button() == Qt::LeftButton) &&
(flags() && QGraphicsItem::ItemIsMovable) ) {
(flags() & QGraphicsItem::ItemIsMovable) ) {
m_dragging = true;
event->accept();
}