Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d3b5e13d authored by Albert Astals Cid's avatar Albert Astals Cid

Reset d->mousePressPos correctly in mousePress after popup exec

BUGS: 363776
parent 506e51d4
......@@ -2280,6 +2280,9 @@ void PageView::mousePressEvent( QMouseEvent * e )
this, &PageView::openAnnotationWindow );
popup.exec( e->globalPos() );
// Since ↑ spins its own event loop we won't get the mouse release event
// so reset mousePressPos here
d->mousePressPos = QPoint();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment