summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2012-12-13 17:19:38 +0100
committerMontel Laurent <montel@kde.org>2012-12-13 17:19:38 +0100
commitec057ac312b23048372877ce716f96f10b383c9a (patch)
tree837797f20d4340108a28204b14be5c0d6ec5c10d /src/webtab
parentReadd my patch to remove mem leak (diff)
downloadrekonq-ec057ac312b23048372877ce716f96f10b383c9a.tar.xz
Fix other mem leak
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webview.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}