summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-21 21:09:50 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-24 10:03:11 +0000
commita667469601294c9845b86545b7b1b09617a04cae (patch)
tree02561d3f53284131803c2ad3768bbb6c2b0cffb8
parent46bce19e8f8a311a2e61a77f416920bc8c2060ad (diff)
downloadqtwayland-a667469601294c9845b86545b7b1b09617a04cae.tar.gz
qtwayland-a667469601294c9845b86545b7b1b09617a04cae.tar.bz2
qtwayland-a667469601294c9845b86545b7b1b09617a04cae.zip
Use a FontSmoothingGamma value of 1.0
This is what the xcb plugin does, be consistent with it. Change-Id: I5befa2de3ff514ca0c9196eb7137682586cec126 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-rw-r--r--src/client/qwaylandintegration.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp
index 050feba7..9526aec4 100644
--- a/src/client/qwaylandintegration.cpp
+++ b/src/client/qwaylandintegration.cpp
@@ -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);
}