summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-09-01 13:45:24 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-09-10 17:28:11 +0200
commitb3c991ae8f9da6d8eb26f10b3d4ab08587588c9e (patch)
tree8f2ff32cadf9b8733701b8f99229a6135f53f7d7 /tests/auto/other
parente1ce78d48498a3de21fe4714e92e2c0fcf1a0813 (diff)
Port from devicePixelRatioF() to devicePixelRatio()
This ports all of QtBase. Change-Id: If6712da44d7749b97b74f4614a04fac360f69d9e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/lancelot/paintcommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/lancelot/paintcommands.cpp b/tests/auto/other/lancelot/paintcommands.cpp
index 9fdfe285dc..d8157f047f 100644
--- a/tests/auto/other/lancelot/paintcommands.cpp
+++ b/tests/auto/other/lancelot/paintcommands.cpp
@@ -2295,7 +2295,7 @@ void PaintCommands::command_pixmap_setDevicePixelRatio(QRegularExpressionMatch r
if (m_verboseMode)
printf(" -(lance) pixmap_setDevicePixelRatio(%s), %.1f -> %.1f\n",
- qPrintable(name), m_pixmapMap[name].devicePixelRatioF(), dpr);
+ qPrintable(name), m_pixmapMap[name].devicePixelRatio(), dpr);
m_pixmapMap[name].setDevicePixelRatio(dpr);
}
@@ -2374,7 +2374,7 @@ void PaintCommands::command_image_setDevicePixelRatio(QRegularExpressionMatch re
if (m_verboseMode)
printf(" -(lance) image_setDevicePixelRatio(%s), %.1f -> %.1f\n",
- qPrintable(name), m_imageMap[name].devicePixelRatioF(), dpr);
+ qPrintable(name), m_imageMap[name].devicePixelRatio(), dpr);
m_imageMap[name].setDevicePixelRatio(dpr);
}