Skip to content

Commit

Permalink
Fix mouse scratching by reverting faulty early return
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed May 23, 2024
1 parent 6b13a9c commit 74e36e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/widget/openglwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,10 @@ bool OpenGLWindow::event(QEvent* pEv) {
if (t == QEvent::MouseMove) {
ToolTipQOpenGL::singleton().start(
m_pWidget, dynamic_cast<QMouseEvent*>(pEv)->globalPos());
return result;
}

if (t == QEvent::Leave) {
ToolTipQOpenGL::singleton().stop();
return result;
}

// Drag & Drop events are not delivered correctly when using QApplication::sendEvent
Expand Down

0 comments on commit 74e36e4

Please sign in to comment.