mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update main.cpp
This commit is contained in:
parent
05134e49cf
commit
6685e67176
@ -84,8 +84,6 @@ int main(int argc, char **argv)
|
|||||||
// Set application attributes
|
// Set application attributes
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
#else
|
|
||||||
QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user