diff --git a/src/other/sourceviewersearch.cpp b/src/other/sourceviewersearch.cpp index c1c9f9788..ab3523342 100644 --- a/src/other/sourceviewersearch.cpp +++ b/src/other/sourceviewersearch.cpp @@ -39,6 +39,9 @@ SourceViewerSearch::SourceViewerSearch(SourceViewer* parent) connect(ui->next, SIGNAL(clicked()), this, SLOT(next())); connect(ui->previous, SIGNAL(clicked()), this, SLOT(previous())); + QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this); + connect(findNextAction, SIGNAL(activated()), this, SLOT(next())); + startAnimation(); qApp->installEventFilter(this); } diff --git a/src/other/sourceviewersearch.h b/src/other/sourceviewersearch.h index 3bd3ef39f..94b8715a6 100644 --- a/src/other/sourceviewersearch.h +++ b/src/other/sourceviewersearch.h @@ -20,6 +20,7 @@ #include #include #include +#include #include "animatedwidget.h" diff --git a/src/plugins/webpluginfactory.cpp b/src/plugins/webpluginfactory.cpp index 53196e4f7..5bf465551 100644 --- a/src/plugins/webpluginfactory.cpp +++ b/src/plugins/webpluginfactory.cpp @@ -50,9 +50,9 @@ QObject* WebPluginFactory::create(const QString &mimeType, const QUrl &url, cons if (whitelist.contains(url.host()) || whitelist.contains("www." + url.host()) || whitelist.contains(url.host().remove("www."))) { return 0; } + // Click2Flash already accepted if (ClickToFlash::isAlreadyAccepted(url, argumentNames, argumentValues)) { - qDebug() << "already accepted"; return 0; } diff --git a/src/webview/searchtoolbar.cpp b/src/webview/searchtoolbar.cpp index 46629ea59..de0c36153 100644 --- a/src/webview/searchtoolbar.cpp +++ b/src/webview/searchtoolbar.cpp @@ -44,6 +44,9 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget* parent) connect(ui->caseSensitive, SIGNAL(clicked()), this, SLOT(refreshFindFlags())); startAnimation(); + QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this); + connect(findNextAction, SIGNAL(activated()), this, SLOT(findNext())); + p_QupZilla->actionStop()->setEnabled(false); qApp->installEventFilter(this); } diff --git a/src/webview/searchtoolbar.h b/src/webview/searchtoolbar.h index 47bb3358b..61d350613 100644 --- a/src/webview/searchtoolbar.h +++ b/src/webview/searchtoolbar.h @@ -24,6 +24,8 @@ #include #include #include +#include + #include "animatedwidget.h" namespace Ui