Skip to content

Commit 367a91d

Browse files
committed
Fix direct winapi call bug
1 parent adc9161 commit 367a91d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qmsetup

src/core/shared/qwkwindowsextra_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ namespace QWK {
434434
static inline quint32 getSystemMetricsForDpi(int index, quint32 dpi) {
435435
const DynamicApis &apis = DynamicApis::instance();
436436
if (apis.pGetSystemMetricsForDpi) {
437-
return ::GetSystemMetricsForDpi(index, dpi);
437+
return apis.pGetSystemMetricsForDpi(index, dpi);
438438
}
439439
return ::GetSystemMetrics(index);
440440
}

0 commit comments

Comments
 (0)