diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-03-26 22:59:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-03-26 22:59:56 +0100 |
commit | 346177726d49fb9fd1d50aa2f997a9f76357f54d (patch) | |
tree | ba5c35836b38fe8d941f60605b787046edff9103 | |
parent | Reload (also) about pages with the reload button (diff) | |
download | rekonq-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.
-rw-r--r-- | src/mainview.cpp | 2 |
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(); |