framework/source/fwe/helper/titlehelper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 5f0db2c24c466e3c4cf0dc8faba1c62b38c770fd Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Wed Nov 27 11:00:37 2019 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Wed Nov 27 11:13:05 2019 +0100 do not claim in titlebar test that OpenGL is enabled if it's not Skia takes precedence, if enabled. And I'm not going to add Skia text to the titlebar, it'd need to include whether it's raster or vulkan, which would be longer, and I don't see why this information needs to be in the titlebar in the first place (or if it needs, then it should be consistent and include also gtk3, qt5, etc.). Change-Id: I9b95c1a986a38293ee65ee49d1a1970c75b3d202 diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 5b938b5ce465..fba89ae42bfc 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -38,6 +38,7 @@ #include <osl/mutex.hxx> #include <tools/urlobj.hxx> #include <vcl/opengl/OpenGLWrapper.hxx> +#include <vcl/skia/SkiaHelper.hxx> #include <vcl/svapp.hxx> @@ -600,7 +601,7 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle) sTitle.append(" ["); sTitle.append(sVersion); #if HAVE_FEATURE_UI - if (OpenGLWrapper::isVCLOpenGLEnabled()) + if (OpenGLWrapper::isVCLOpenGLEnabled() && !SkiaHelper::isVCLSkiaEnabled()) sTitle.append("-GL"); #endif sTitle.append("]"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits