From 8d37120edc088b094b55a0078f92e30d48928650 Mon Sep 17 00:00:00 2001 From: kh1 Date: Thu, 31 May 2012 15:08:03 +0200 Subject: [PATCH] Fix font size was not applied at the first start of help system. Used the wrong call to do this, there is a similar function that should have been used. Task-number: QTCREATORBUG-6762 Task-number: QTCREATORBUG-7195 Change-Id: Ic2317eda1c8d45006641b64507d08efb48e7e5a2 Reviewed-by: Niels Weber Reviewed-by: Karsten Heimrich --- src/plugins/help/helpviewer_qwv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp index f93536eda8e..1cd853ad899 100644 --- a/src/plugins/help/helpviewer_qwv.cpp +++ b/src/plugins/help/helpviewer_qwv.cpp @@ -379,7 +379,7 @@ HelpViewer::HelpViewer(qreal zoom, QWidget *parent) connect(this, SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged())); connect(page(), SIGNAL(printRequested(QWebFrame*)), this, SIGNAL(printRequested())); - setFont(viewerFont()); + setViewerFont(viewerFont()); setTextSizeMultiplier(zoom == 0.0 ? 1.0 : zoom); }