Commit 33ded9e2 authored by Laurent Montel's avatar Laurent Montel 😁

Add comment

parent 06e5dce0
...@@ -43,7 +43,6 @@ void ArticleHtmlWebEngineWriter::begin() ...@@ -43,7 +43,6 @@ void ArticleHtmlWebEngineWriter::begin()
} }
// clear the widget: // clear the widget:
mWebView->setUpdatesEnabled(false); mWebView->setUpdatesEnabled(false);
//mWebView->scrollUp(10);
mWebView->load(QUrl()); mWebView->load(QUrl());
mState = Begun; mState = Begun;
} }
......
...@@ -170,6 +170,7 @@ void ArticleViewerWebEngine::slotShowContextMenu(const QPoint &pos) ...@@ -170,6 +170,7 @@ void ArticleViewerWebEngine::slotShowContextMenu(const QPoint &pos)
void ArticleViewerWebEngine::slotPrintPreview() void ArticleViewerWebEngine::slotPrintPreview()
{ {
//Use printToPdf Qt5.7
#if 0 #if 0
PimCommon::KPimPrintPreviewDialog previewdlg(this); PimCommon::KPimPrintPreviewDialog previewdlg(this);
connect(&previewdlg, &QPrintPreviewDialog::paintRequested, this, [this](QPrinter * printer) { connect(&previewdlg, &QPrintPreviewDialog::paintRequested, this, [this](QPrinter * printer) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment