imp. : add high dpi support

This commit is contained in:
yifang 2022-01-19 20:35:34 +08:00
parent 233564e7e5
commit f93745cc69

View file

@ -277,6 +277,9 @@ int main( int argc, char ** argv )
QWebEngineUrlScheme::registerScheme(webUiScheme);
}
//high dpi screen support
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QHotkeyApplication app( "GoldenDict", argc, argv );
LogFilePtrGuard logFilePtrGuard;