mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
Remove software and opengl flow implementations
This simplifies the code base A LOT.
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
#include "help_about_dialog.h"
|
||||
|
||||
#include "opengl_checker.h"
|
||||
#include "global_info_provider.h"
|
||||
|
||||
#include <QtCore>
|
||||
@ -100,10 +99,8 @@ void HelpAboutDialog::loadSystemInfo()
|
||||
{
|
||||
auto text = YACReader::getGlobalInfo();
|
||||
|
||||
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()));
|
||||
|
||||
systemInfoText->setText(text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user