mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-22 20:04:29 +08:00
Merge d6525e7907
into 50a1a7f6e9
This commit is contained in:
commit
f46a4350a3
@ -59,7 +59,9 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
#include "../../plugins/platforms/windows/vxkex.h"
|
#include "../../plugins/platforms/windows/vxkex.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
@ -256,8 +258,10 @@ void QWindowsStyle::polish(QPalette &pal)
|
|||||||
QCommonStyle::polish(pal);
|
QCommonStyle::polish(pal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
typedef BOOL (WINAPI *GetSystemMetricsForDpiFunc)(int, UINT);
|
typedef BOOL (WINAPI *GetSystemMetricsForDpiFunc)(int, UINT);
|
||||||
typedef BOOL (WINAPI *SystemParametersInfoForDpiFunc)(UINT, UINT, PVOID, UINT, UINT);
|
typedef BOOL (WINAPI *SystemParametersInfoForDpiFunc)(UINT, UINT, PVOID, UINT, UINT);
|
||||||
|
#endif
|
||||||
|
|
||||||
int QWindowsStylePrivate::pixelMetricFromSystemDp(QStyle::PixelMetric pm, const QStyleOption *, const QWidget *widget)
|
int QWindowsStylePrivate::pixelMetricFromSystemDp(QStyle::PixelMetric pm, const QStyleOption *, const QWidget *widget)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user