summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Fedin <fedin-ilja2010@ya.ru>2022-08-22 18:53:11 +0400
committerIlya Fedin <fedin-ilja2010@ya.ru>2022-08-23 05:41:16 +0400
commitc2bcba0d3cf550ede0488b40b8a5f81be817a65c (patch)
tree00fd141ee0b2bef4749f8dcb4117d1db30903e09
parentf514ed7d76fe6a74dbb1f246b4725a037fc256be (diff)
Fix build without highdpiscaling feature
Fixes: QTBUG-104925 Pick-to: 6.4 Change-Id: Ieb5dd2194c54a61733c427c8a0ddf7576147d6ea Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r--src/gui/kernel/qhighdpiscaling_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qhighdpiscaling_p.h b/src/gui/kernel/qhighdpiscaling_p.h
index 31d1cfe784..f9deae136d 100644
--- a/src/gui/kernel/qhighdpiscaling_p.h
+++ b/src/gui/kernel/qhighdpiscaling_p.h
@@ -344,6 +344,9 @@ public:
namespace QHighDpi {
template <typename T> inline
+ T scale(const T &value, ...) { return value; }
+
+ template <typename T> inline
T toNative(const T &value, ...) { return value; }
template <typename T> inline
T fromNative(const T &value, ...) { return value; }