Commit 2a9e6240 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk

misc: use PassThrough for HighDpiScaleFactorRoundingPolicy

Gitlab: #302
Change-Id: I3d79443b4338a27a8724600be233a2ff765427f9
parent 8b465880
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment