summaryrefslogtreecommitdiffstats
path: root/src/webenginequick
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-06-08 16:28:58 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2021-06-10 18:28:52 +0200
commit740b8c94f27930a33298c81c2284d1f0a9e2f11b (patch)
tree097150a08452efb33444b3228111fd02679dddf7 /src/webenginequick
parentb8804bf868c9f9b18a8b1caa9f512659113ddb98 (diff)
Fix some compiler warnings
- Remove deprecated Qt::AA_EnableHighDpiScaling and Qt::AA_UseHighDpiPixmaps from examples. High-DPI scaling is always enabled. - Reorder initialization of members of QWebEngineDownloadRequestPrivate. Also remove m_ prefix from public members' name. - Remove unused parameters from methods of DummyDelegate. - Add missing overrides in auto tests. Pick-to: 6.2 Change-Id: I18d6973b8bee574b37b73fbaaa8d57002ac8ba2d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginequick')
-rw-r--r--src/webenginequick/api/qquickwebengineprofile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webenginequick/api/qquickwebengineprofile.cpp b/src/webenginequick/api/qquickwebengineprofile.cpp
index 54da37309..c95a838af 100644
--- a/src/webenginequick/api/qquickwebengineprofile.cpp
+++ b/src/webenginequick/api/qquickwebengineprofile.cpp
@@ -249,9 +249,9 @@ void QQuickWebEngineProfilePrivate::downloadRequested(DownloadItemInfo &info)
info.savePageFormat);
itemPrivate->isSavePageDownload = info.isSavePageDownload;
if (info.page && info.page->clientType() == QtWebEngineCore::WebContentsAdapterClient::QmlClient)
- itemPrivate->m_adapterClient = info.page;
+ itemPrivate->adapterClient = info.page;
else
- itemPrivate->m_adapterClient = nullptr;
+ itemPrivate->adapterClient = nullptr;
QWebEngineDownloadRequest *download = new QWebEngineDownloadRequest(itemPrivate, q);