mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-30 18:54:00 -04:00
Fix warnings in Qt6 builds
This commit is contained in:
committed by
Adam Honse
parent
45af044cd8
commit
a24a497759
6
main.cpp
6
main.cpp
@@ -221,8 +221,10 @@ int main(int argc, char* argv[])
|
||||
/*-----------------------------------------------------*\
|
||||
| Enable high DPI scaling support |
|
||||
\*-----------------------------------------------------*/
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Enable high DPI fractional scaling support on Windows |
|
||||
|
||||
Reference in New Issue
Block a user