From cba098b07f48305b648f70b5e849b93df005a72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 11 Sep 2022 14:44:03 +0200 Subject: [PATCH] Include the OpenGL version in System Info --- custom_widgets/help_about_dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_widgets/help_about_dialog.cpp b/custom_widgets/help_about_dialog.cpp index 9c5d97cd..818adc80 100644 --- a/custom_widgets/help_about_dialog.cpp +++ b/custom_widgets/help_about_dialog.cpp @@ -1,5 +1,7 @@ #include "help_about_dialog.h" +#include "opengl_checker.h" + #include #include #include @@ -125,8 +127,10 @@ void HelpAboutDialog::loadSystemInfo() // text.append(QString("CPU: %1\n").arg(tempOutput)); // } + auto openGLChecker = OpenGLChecker(); text.append("\nGRAPHIC INFORMATION\n"); text.append(QString("Screen pixel ratio: %1\n").arg(devicePixelRatioF())); + text.append(QString("OpenGL version: %1\n").arg(openGLChecker.textVersionDescription())); // if (QSysInfo::kernelType() == "winnt") { // QString gpu = "wmic PATH Win32_videocontroller get VideoProcessor";