summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-31 19:09:52 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-31 19:09:52 +0100
commitd4d4c6858c2d226cbc6f3212962bfdad835f349c (patch)
tree92de074a05df68ca1f389ebbb591f4e34ad3b163
parentUpdate signals/slot between detached tab and its new mainview (diff)
downloadrekonq-d4d4c6858c2d226cbc6f3212962bfdad835f349c.tar.xz
(Hopefully) finally fixing access keys
This bug has been introduced by me, wrongly merging konqueror and rekonq code. Sorry, guys...
-rw-r--r--src/webview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index b4f9d0be..1c2a4028 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -792,6 +792,8 @@ void WebView::keyReleaseEvent(QKeyEvent *event)
}
else
{
+ checkForAccessKey(event);
+ kDebug() << "Hiding access keys";
hideAccessKeys();
event->accept();
return;
@@ -1142,6 +1144,8 @@ bool WebView::checkForAccessKey(QKeyEvent *event)
rApp->sendEvent(this, &revent);
handled = true;
}
+
+ kDebug() << "checking for access keys: " << handled;
return handled;
}