forked from qt-creator/qt-creator
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 <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user