summaryrefslogtreecommitdiff
path: root/src/webtab/protocolhandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-06-06 19:34:38 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-06-06 19:36:00 +0200
commit894b79f5ffd816962fe38207d40bf05274490498 (patch)
tree8dd839b36abe49688f5e8b89c8a61921989607f4 /src/webtab/protocolhandler.cpp
parentRemember to save zoom settings on change (diff)
downloadrekonq-894b79f5ffd816962fe38207d40bf05274490498.tar.xz
Use webkit general font to render rekonq pages
BUG: 320318
Diffstat (limited to 'src/webtab/protocolhandler.cpp')
-rw-r--r--src/webtab/protocolhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webtab/protocolhandler.cpp b/src/webtab/protocolhandler.cpp
index 4cf61be5..886bec1e 100644
--- a/src/webtab/protocolhandler.cpp
+++ b/src/webtab/protocolhandler.cpp
@@ -398,7 +398,8 @@ QString ProtocolHandler::dirHandling(const KFileItemList &list)
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;
}