summaryrefslogtreecommitdiff
path: root/src/webtab/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab/webpage.cpp')
-rw-r--r--src/webtab/webpage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp
index 522d13a3..82c5cf60 100644
--- a/src/webtab/webpage.cpp
+++ b/src/webtab/webpage.cpp
@@ -721,7 +721,8 @@ QString WebPage::errorPage(QNetworkReply *reply)
html.replace(QL1S("$DEFAULT_PATH"), dataPath);
html.replace(QL1S("$PAGE_TITLE"), title);
html.replace(QL1S("$MAIN_CONTENT"), msg);
-
+ html.replace(QL1S("$GENERAL_FONT"), QWebSettings::globalSettings()->fontFamily(QWebSettings::StandardFont));
+
return html;
}
@@ -767,7 +768,8 @@ QString WebPage::errorPage(QNetworkReply *reply)
html.replace(QL1S("$DEFAULT_PATH"), dataPath);
html.replace(QL1S("$PAGE_TITLE"), title);
html.replace(QL1S("$MAIN_CONTENT"), msg);
-
+ html.replace(QL1S("$GENERAL_FONT"), QWebSettings::globalSettings()->fontFamily(QWebSettings::StandardFont));
+
return html;
}