From 9991c430d2b350ae672618d0f20c1527a607984e Mon Sep 17 00:00:00 2001 From: Bas Ruigrok Date: Wed, 10 Apr 2024 19:44:28 +0200 Subject: [PATCH] Fix compiler warning --- src/Gui/OverlayManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/OverlayManager.cpp b/src/Gui/OverlayManager.cpp index 91fb67ada381..62d818c74318 100644 --- a/src/Gui/OverlayManager.cpp +++ b/src/Gui/OverlayManager.cpp @@ -1787,8 +1787,8 @@ bool OverlayManager::eventFilter(QObject *o, QEvent *ev) if(!isTreeViewDragging()) d->interceptEvent(d->_trackingWidget, ev); if(isTreeViewDragging() - || ev->type() == QEvent::MouseButtonRelease - && QApplication::mouseButtons() == Qt::NoButton) + || (ev->type() == QEvent::MouseButtonRelease + && QApplication::mouseButtons() == Qt::NoButton)) { d->_trackingWidget = nullptr; if (d->_trackingOverlay == grabber