Commit 7c5f2a93 authored by Alexandru Croitor's avatar Alexandru Croitor
Browse files

Fix incorrect device pixel ratio used on startup.


Report the correct device pixel ratio to Chromium, when the
QOpenGLWidget gets initialized. The initial value on startup is
incorrect, because Chromium tries to query the screen information,
before a relevant QWindow handle can be returned, and thus defaults to
1.0f.

Change-Id: Ibbedd7b2915840f9716340e582aedbc13406f11a
Task-number: QTBUG-49727
Reviewed-by: default avatarMichael Brüning <michael.bruning@theqtcompany.com>
parent 32f83d9c
No related merge requests found
Showing with 6 additions and 0 deletions
Supports Markdown
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