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
66 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
77 //
88 #include "PlatformInfoScriptingInterface.h"
9+#include "Application.h"
910
10−# include <thread>
11+#include <thread>
1112
1213 #ifdef Q_OS_WIN
1314 #include <Windows.h>
@@ -69,4 +70,8 @@ int PlatformInfoScriptingInterface::getTotalSystemMemoryMB() { · 55 unmodified lines
6970 #else
7071 return -1;
7172 #endif
73+}
74+
75+QString PlatformInfoScriptingInterface::getGraphicsCardType() {
76+ return qApp->getGraphicsCardType();
7277 }