Windows QPA: make one function static

It doesn't use any non-static functions or variables, so it can be
static, and a function that sets a process's DPI awareness mode
doesn't need to be non-static anyway.

Change-Id: I4cc6e0f423b6cd4cf43d8afed86f26b5d04e3605
Reviewed-by: Timothée Keller <timothee.keller@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Yuhang Zhao 2023-01-25 08:32:33 +08:00
parent c53c292c1b
commit 07c234ae0b

View File

@ -116,7 +116,7 @@ public:
static void setTabletAbsoluteRange(int a);
bool setProcessDpiAwareness(QtWindows::DpiAwareness dpiAwareness);
static bool setProcessDpiAwareness(QtWindows::DpiAwareness dpiAwareness);
static QtWindows::DpiAwareness processDpiAwareness();
static QtWindows::DpiAwareness windowDpiAwareness(HWND hwnd);