From ec057ac312b23048372877ce716f96f10b383c9a Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Thu, 13 Dec 2012 17:19:38 +0100 Subject: Fix other mem leak --- src/webtab/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webtab') diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp index ac82bb87..8d99eeb2 100644 --- a/src/webtab/webview.cpp +++ b/src/webtab/webview.cpp @@ -551,7 +551,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) if (m_contextMenuHitResult.isContentEditable()) { menu.addSeparator(); - a = KStandardAction::spelling(this, SLOT(spellCheck()), this); + a = KStandardAction::spelling(this, SLOT(spellCheck()), &menu); menu.addAction(a); } -- cgit v1.2.1