summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-12 01:10:49 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-12 01:10:49 +0100
commit8b0c34007ddf70de767b036a21d978befb9654d4 (patch)
tree7d3bfa29b26914f0de6605975726714c2154ea2c /src/mainview.cpp
parentEvery action is now in ActionCollection!! (diff)
downloadrekonq-8b0c34007ddf70de767b036a21d978befb9654d4.tar.xz
Fixed unconnected STOP web action
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index d796035e..4236d5d0 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -99,6 +99,15 @@ void MainView::slotWebReload()
}
+void MainView::slotWebStop()
+{
+ WebView *webView = currentWebView();
+ QWebPage *currentParent = webView->webPage();
+ QAction *action = currentParent->action(QWebPage::Stop);
+ action->trigger();
+}
+
+
void MainView::slotWebBack()
{
WebView *webView = currentWebView();