mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Enable Qt::HighDpiScaleFactorRoundingPolicy::PassThrough
This commit is contained in:
parent
e532fa4439
commit
380aea2a66
@ -96,6 +96,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
||||
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
|
||||
|
||||
#if defined(_MSC_VER) && defined(_DEBUG)
|
||||
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user