summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-04-07 07:26:22 +0200
committerMontel Laurent <[email protected]>2016-04-07 07:26:22 +0200
commit33ded9e2d92cf86c230b1fd52722f91fc1fe62ea (patch)
treeada18f5cb10280eb7b5250f04259363cc313d6cb
parent06e5dce038e6cafb6781134d669125e38622f189 (diff)
Add comment
-rw-r--r--akregator/src/articleviewer-ng/webengine/articlehtmlwebenginewriter.cpp1
-rw-r--r--akregator/src/articleviewer-ng/webengine/articleviewerwebengine.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/akregator/src/articleviewer-ng/webengine/articlehtmlwebenginewriter.cpp b/akregator/src/articleviewer-ng/webengine/articlehtmlwebenginewriter.cpp
index cd56ed7..83187b9 100644
--- a/akregator/src/articleviewer-ng/webengine/articlehtmlwebenginewriter.cpp
+++ b/akregator/src/articleviewer-ng/webengine/articlehtmlwebenginewriter.cpp
@@ -43,7 +43,6 @@ void ArticleHtmlWebEngineWriter::begin()
}
// clear the widget:
mWebView->setUpdatesEnabled(false);
- //mWebView->scrollUp(10);
mWebView->load(QUrl());
mState = Begun;
}
diff --git a/akregator/src/articleviewer-ng/webengine/articleviewerwebengine.cpp b/akregator/src/articleviewer-ng/webengine/articleviewerwebengine.cpp
index a3972f0..03ecf00 100644
--- a/akregator/src/articleviewer-ng/webengine/articleviewerwebengine.cpp
+++ b/akregator/src/articleviewer-ng/webengine/articleviewerwebengine.cpp
@@ -170,6 +170,7 @@ void ArticleViewerWebEngine::slotShowContextMenu(const QPoint &pos)
void ArticleViewerWebEngine::slotPrintPreview()
{
+ //Use printToPdf Qt5.7
#if 0
PimCommon::KPimPrintPreviewDialog previewdlg(this);
connect(&previewdlg, &QPrintPreviewDialog::paintRequested, this, [this](QPrinter * printer) {