From 894b79f5ffd816962fe38207d40bf05274490498 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 6 Jun 2013 19:34:38 +0200 Subject: Use webkit general font to render rekonq pages BUG: 320318 --- src/webtab/protocolhandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/webtab/protocolhandler.cpp') 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; } -- cgit v1.2.1