forked from qt-creator/qt-creator
Backport some Qt Assistant print fixes.
Reviewed-by: ck
This commit is contained in:
@@ -251,6 +251,7 @@ HelpViewer::HelpViewer(qreal zoom, QWidget *parent)
|
||||
connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl)));
|
||||
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(setLoadFinished(bool)));
|
||||
connect(this, SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged()));
|
||||
connect(page(), SIGNAL(printRequested(QWebFrame*)), this, SIGNAL(printRequested()));
|
||||
|
||||
setFont(viewerFont());
|
||||
setTextSizeMultiplier(zoom == 0.0 ? 1.0 : zoom);
|
||||
|
||||
Reference in New Issue
Block a user