summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();