[TD]CI clang warnings

This commit is contained in:
wandererfan
2022-08-23 15:32:13 -04:00
committed by WandererFan
parent c075a298ae
commit aa2b1b8392
246 changed files with 3944 additions and 4241 deletions

View File

@@ -72,7 +72,7 @@ QGIGhostHighlight::~QGIGhostHighlight()
void QGIGhostHighlight::mousePressEvent(QGraphicsSceneMouseEvent * event)
{
// Base::Console().Message("QGIGhostHighlight::mousePress() - %X\n", this);
if ( (event->button() == Qt::LeftButton) &&
if ( (event->button() == Qt::LeftButton) &&
(flags() & QGraphicsItem::ItemIsMovable) ) {
m_dragging = true;
event->accept();
@@ -82,7 +82,7 @@ void QGIGhostHighlight::mousePressEvent(QGraphicsSceneMouseEvent * event)
void QGIGhostHighlight::mouseReleaseEvent(QGraphicsSceneMouseEvent * event)
{
// Base::Console().Message("QGIGhostHighlight::mouseRelease() - pos: %s scenePos: %s\n",
// Base::Console().Message("QGIGhostHighlight::mouseRelease() - pos: %s scenePos: %s\n",
// DrawUtil::formatVector(pos()).c_str(),
// DrawUtil::formatVector(mapToScene(pos())).c_str());
if (m_dragging) {