diff options
author | Ilya Fedin <fedin-ilja2010@ya.ru> | 2022-08-22 18:53:11 +0400 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-08-23 08:32:19 +0000 |
commit | b7cfd0990eb279439badd80ee7196849eece0f7b (patch) | |
tree | c0d0158759d263b0a77ec95d331eb02d169e7c7f | |
parent | c79cc680812b9ee027d88051596bdf265e17cfeb (diff) |
Fix build without highdpiscaling feature
Fixes: QTBUG-104925
Change-Id: Ieb5dd2194c54a61733c427c8a0ddf7576147d6ea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit c2bcba0d3cf550ede0488b40b8a5f81be817a65c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/gui/kernel/qhighdpiscaling_p.h | 3 |
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; } |