summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-03-26 22:59:56 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-03-26 22:59:56 +0100
commit346177726d49fb9fd1d50aa2f997a9f76357f54d (patch)
treeba5c35836b38fe8d941f60605b787046edff9103 /src
parentReload (also) about pages with the reload button (diff)
downloadrekonq-346177726d49fb9fd1d50aa2f997a9f76357f54d.tar.xz
Fixing my fixed patch :)
My fault. The problem was that the patch command failed, the patch was just 3 lines, so I copied by hands, then I see the webTab->url() and... ;) Anyway, now it is really Johannes's patch. Sorry.
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index b75e8902..b34acc39 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -205,7 +205,7 @@ void MainView::updateTabBar()
void MainView::webReload()
{
WebTab *webTab = currentWebTab();
- if (webTab->url().scheme() != QL1S("about"))
+ if (webTab->view()->url().scheme() != QL1S("about"))
{
QAction *action = webTab->view()->page()->action(QWebPage::Reload);
action->trigger();