From e315ff15daf26cbc70b6f2da50e6ca18081fc7c4 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 19 Sep 2012 23:22:13 +0200 Subject: Integrated spell checking for rekonq2 (lindsay's work imported) - inline spell highlighter. This requires WebKit 2.3 to work. - Addition of a suggested replacement word list to the context menu, for the word right clicked on - A standard modeless spell check dialog that works on the current editable text (or selection). Heavily cribbed from Dawit's work on kdewebkitpart. oops... also a codingstyle script round here... :) --- src/webwindow/findbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webwindow/findbar.cpp') diff --git a/src/webwindow/findbar.cpp b/src/webwindow/findbar.cpp index 8e6a98a6..e95f860e 100644 --- a/src/webwindow/findbar.cpp +++ b/src/webwindow/findbar.cpp @@ -133,7 +133,7 @@ void FindBar::keyPressEvent(QKeyEvent *event) findNext(); } } - + QWidget::keyPressEvent(event); } @@ -156,8 +156,8 @@ void FindBar::setVisible(bool visible) WebWindow *w = qobject_cast(parent()); if (visible - && w->page()->isOnRekonqPage() - && w->view()->part() != 0) + && w->page()->isOnRekonqPage() + && w->view()->part() != 0) { // findNext is the slot containing part integration code findNext(); -- cgit v1.2.1