summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/about.cxx
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-08-26 12:25:14 +0200
committerLászló Németh <laszlo.nemeth@collabora.com>2015-08-26 12:35:37 +0200
commitbe881075568d7686ba2cbcd85d4d9c085e0517ef (patch)
tree9d0c7c8fdf36867347df7c4ffe9497da91bfb9ad /cui/source/dialogs/about.cxx
parent334dba623dfb0c4fb2b5292c2d03741b7b33aef1 (diff)
tdf#93620: show OpenGL status in Help->About
Build ID will show enabled OpenGL with an extra string "-GL" helping the fix of rendering issues. Change-Id: Id7bf2db2edb165542bf7a2a253c698c494278a03
Diffstat (limited to 'cui/source/dialogs/about.cxx')
-rw-r--r--cui/source/dialogs/about.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 310082ce1441..8f5caf680ac1 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -48,6 +48,7 @@
#include <rtl/ustrbuf.hxx>
#include <vcl/bitmap.hxx>
#include <officecfg/Office/Common.hxx>
+#include <vcl/opengl/OpenGLHelper.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -294,6 +295,11 @@ OUString AboutDialog::GetVersionString()
sVersion += m_sBuildStr.replaceAll("$BUILDID", sBuildId);
}
+ if (OpenGLHelper::isVCLOpenGLEnabled())
+ {
+ sVersion += "-GL";
+ }
+
if (EXTRA_BUILDID[0] != '\0')
{
sVersion += "\n" EXTRA_BUILDID;