From 346177726d49fb9fd1d50aa2f997a9f76357f54d Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 26 Mar 2011 22:59:56 +0100 Subject: 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. --- src/mainview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.1