Skip to content

Commit

Permalink
TechDraw: [skip ci] fix -Wconstant-logical-operand
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed May 12, 2020
1 parent b9fc0fb commit 1bd1312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/Gui/QGIGhostHighlight.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 1bd1312

Please sign in to comment.