diff options
author | Marc Deop <damnshock@gmail.com> | 2012-01-15 11:04:18 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-15 11:04:18 +0100 |
commit | c1f9c3a8af513419190976d1a8d7b0abbe251a28 (patch) | |
tree | 5cad7967584333c15d2667d532ca1a7097df9dce /src | |
parent | Implement (User) Session Restore (diff) | |
download | rekonq-c1f9c3a8af513419190976d1a8d7b0abbe251a28.tar.xz |
only make labels for viewable elements
REVIEW:103697
REVIEWED-BY: adjam
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index da7f802a..ac861fb0 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -1008,7 +1008,8 @@ void WebView::showAccessKeys() const QRect geometry = element.geometry(); if (unusedKeys.isEmpty() || alreadyLabeled.contains(element) - || geometry.size().isEmpty()) + || geometry.size().isEmpty() + || !viewport.contains(geometry.topLeft())) { continue; } |