History

Can read graphics card type.

NissimHadar committed 7 years ago

Commit 76ce63d1 parent 6debd994 files · +19 −2Browse files

Showing the changes to interface/src/scripting/PlatformInfoScriptingInterface.cpp (1 of 4 files). Show all

Unified · Split

interface/src/scripting/PlatformInfoScriptingInterface.cpp+6−1
@@ -6,8 +6,9 @@ · 5 unmodified lines
6// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html6// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7//7//
8#include "PlatformInfoScriptingInterface.h"8#include "PlatformInfoScriptingInterface.h"
9#include "Application.h"
9 10
10# include <thread>11#include <thread>
11 12
12#ifdef Q_OS_WIN13#ifdef Q_OS_WIN
13#include <Windows.h>14#include <Windows.h>
@@ -69,4 +70,8 @@ int PlatformInfoScriptingInterface::getTotalSystemMemoryMB() { · 55 unmodified lines
69#else70#else
70 return -1;71 return -1;
71#endif72#endif
73}
74
75QString PlatformInfoScriptingInterface::getGraphicsCardType() {
76 return qApp->getGraphicsCardType();
72}77}