ProjectExplorer: Do not override application cursor in TaskView

Change-Id: Ia8c332ee4d736c74fd773ecc5aecf8ee1c8345df
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Kandeler
2023-05-12 08:40:03 +02:00
parent e71f9b9c87
commit 63b2934a62

View File

@@ -688,9 +688,9 @@ void TaskView::mouseMoveEvent(QMouseEvent *e)
if (m_hoverAnchor != anchor) { if (m_hoverAnchor != anchor) {
m_hoverAnchor = anchor; m_hoverAnchor = anchor;
if (!m_hoverAnchor.isEmpty()) if (!m_hoverAnchor.isEmpty())
QApplication::setOverrideCursor(QCursor(Qt::PointingHandCursor)); setCursor(Qt::PointingHandCursor);
else else
QApplication::restoreOverrideCursor(); unsetCursor();
} }
} }