From b6af3bd7d3339e8e8861a9fb8aa829f23d3b7286 Mon Sep 17 00:00:00 2001 From: nowrep Date: Mon, 26 Mar 2012 18:13:03 +0200 Subject: [PATCH] Fixed crash introduced in previous commit ... --- src/lib/webview/searchtoolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/webview/searchtoolbar.cpp b/src/lib/webview/searchtoolbar.cpp index f8eae0d6c..45a5cf63c 100644 --- a/src/lib/webview/searchtoolbar.cpp +++ b/src/lib/webview/searchtoolbar.cpp @@ -52,7 +52,7 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget* parent) QShortcut* findPreviousAction = new QShortcut(QKeySequence("Shift+F3"), this); connect(findPreviousAction, SIGNAL(activated()), this, SLOT(findPrevious())); - parent->installEventFilter(this); + mainClass->installEventFilter(this); } QLineEdit* SearchToolBar::searchLine()