Commit a6674696 authored by Giulio Camuffo's avatar Giulio Camuffo
Browse files

Use a FontSmoothingGamma value of 1.0


This is what the xcb plugin does, be consistent with it.

Change-Id: I5befa2de3ff514ca0c9196eb7137682586cec126
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Showing with 7 additions and 0 deletions
......@@ -226,6 +226,13 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) const
if (hint == ShowIsFullScreen && mDisplay->windowManagerIntegration())
return mDisplay->windowManagerIntegration()->showIsFullScreen();
switch (hint) {
case QPlatformIntegration::FontSmoothingGamma:
return qreal(1.0);
default:
break;
}
return QPlatformIntegration::styleHint(hint);
}
......
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