summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Iacovitti <aiacovitti@libero.it>2012-06-18 06:03:50 (GMT)
committerAndrea Iacovitti <aiacovitti@libero.it>2012-06-18 06:03:50 (GMT)
commit313bb0220deaec506470e3cbce34d67747a75540 (patch)
treea38c82dfaaac0774fc3a661ae9f4121d972e1077
parent31ce1f9365000d7c3a9c39770234aa09009a2599 (diff)
Force showing default arrow cursor when the mouse is over textarea's
scrollbars. BUG: 155546
-rw-r--r--khtml/khtmlview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/khtml/khtmlview.cpp b/khtml/khtmlview.cpp
index 09e7e4c..4c44ed6 100644
--- a/khtml/khtmlview.cpp
+++ b/khtml/khtmlview.cpp
@@ -1372,6 +1372,10 @@ void KHTMLView::mouseMoveEvent( QMouseEvent * _mouse )
}
}
}
+ else if (QTextEdit* te = qobject_cast<QTextEdit*>(rw->widget())) {
+ if (te->verticalScrollBar()->underMouse() || te->horizontalScrollBar()->underMouse())
+ forceDefault = true;
+ }
}
khtml::RenderStyle* style = (r && r->style()) ? r->style() : 0;
QCursor c;