summaryrefslogtreecommitdiff
path: root/src/webtab/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-29 11:33:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commit95c3dbf890d813ab3867ef798054d2741cfc6ad4 (patch)
tree2770923b7ee665ce0f15db10bbfe47302452805e /src/webtab/webview.cpp
parentRestoring inspector, part 3 (diff)
downloadrekonq-95c3dbf890d813ab3867ef798054d2741cfc6ad4.tar.xz
Use view parent tab to get use calling tab exists
Diffstat (limited to 'src/webtab/webview.cpp')
-rw-r--r--src/webtab/webview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index 2a73b050..db87a993 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -1472,3 +1472,9 @@ void WebView::slotSpellCheckDone(const QString&)
execJScript(m_contextMenuHitResult, script);
}
}
+
+
+WebTab *WebView::parentTab()
+{
+ return m_parentTab;
+}