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>
This commit is contained in:
parent
c79cc68081
commit
b7cfd0990e
@ -343,6 +343,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user