mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
WebView: Clear m_clickedUrl and m_clickedPos in mousePressEvent
This commit is contained in:
parent
9f36401be9
commit
8e39135920
|
@ -990,6 +990,9 @@ void WebView::_wheelEvent(QWheelEvent *event)
|
||||||
|
|
||||||
void WebView::_mousePressEvent(QMouseEvent *event)
|
void WebView::_mousePressEvent(QMouseEvent *event)
|
||||||
{
|
{
|
||||||
|
m_clickedUrl = QUrl();
|
||||||
|
m_clickedPos = QPoint();
|
||||||
|
|
||||||
if (mApp->plugins()->processMousePress(Qz::ON_WebView, this, event)) {
|
if (mApp->plugins()->processMousePress(Qz::ON_WebView, this, event)) {
|
||||||
event->accept();
|
event->accept();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user