diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2019-01-24 13:00:33 +0100 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2019-02-01 10:39:18 +0000 |
commit | 7e85ded0fa6467232ad64f8c20560ca26213518b (patch) | |
tree | 5dc6369f59336e07d5470a82496ad1ad08564741 /src/core/web_contents_view_qt.cpp | |
parent | e3968360b4f1b7b0603b97d50244b18c92207f21 (diff) |
Delete WebContentsAdapterClient::dpiScale()
It's always 1.
Change-Id: I1c3d5bc3080da90379f03b6d0819c5656334751e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_contents_view_qt.cpp')
-rw-r--r-- | src/core/web_contents_view_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_contents_view_qt.cpp b/src/core/web_contents_view_qt.cpp index 648e0fd8f..550a98a52 100644 --- a/src/core/web_contents_view_qt.cpp +++ b/src/core/web_contents_view_qt.cpp @@ -239,7 +239,7 @@ void WebContentsViewQt::StartDragging(const content::DropData &drop_data, QPixmap pixmap; QPoint hotspot; - pixmap = QPixmap::fromImage(toQImage(image.GetRepresentation(m_client->dpiScale()))); + pixmap = QPixmap::fromImage(toQImage(image.GetRepresentation(1.0))); if (!pixmap.isNull()) { hotspot.setX(image_offset.x()); hotspot.setY(image_offset.y()); |