Skip to content
Snippets Groups Projects
Commit 2a9e6240 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk
Browse files

misc: use PassThrough for HighDpiScaleFactorRoundingPolicy

Gitlab: #302
Change-Id: I3d79443b4338a27a8724600be233a2ff765427f9
parent 8b465880
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ main(int argc, char* argv[])
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);
QCoreApplication::setApplicationVersion(QString(VERSION_STRING));
QApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);
Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
QtWebEngine::initialize();
char ARG_DISABLE_WEB_SECURITY[] = "--disable-web-security";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment