mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
try fix the blur issue of toolbar icon on macOS
This commit is contained in:
parent
29c1c346a4
commit
26ec4eb42b
@ -130,6 +130,8 @@ int main(int argc, char *argv[])
|
||||
// Set openGL version.
|
||||
// Or set environment QT_OPENGL to "angle/desktop/software".
|
||||
// QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true);
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user