forked from qt-creator/qt-creator
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:
@@ -688,9 +688,9 @@ void TaskView::mouseMoveEvent(QMouseEvent *e)
|
||||
if (m_hoverAnchor != anchor) {
|
||||
m_hoverAnchor = anchor;
|
||||
if (!m_hoverAnchor.isEmpty())
|
||||
QApplication::setOverrideCursor(QCursor(Qt::PointingHandCursor));
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
else
|
||||
QApplication::restoreOverrideCursor();
|
||||
unsetCursor();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user