Showing the changes to interface/src/scripting/PlatformInfoScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -6,8 +6,9 @@ · 5 unmodified lines | |||
| 6 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | 6 | // 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_WIN | 13 | #ifdef Q_OS_WIN |
| 13 | #include <Windows.h> | 14 | #include <Windows.h> |
| @@ -69,4 +70,8 @@ int PlatformInfoScriptingInterface::getTotalSystemMemoryMB() { · 55 unmodified lines | |||
| 69 | #else | 70 | #else |
| 70 | return -1; | 71 | return -1; |
| 71 | #endif | 72 | #endif |
| 73 | } | ||
| 74 | |||
| 75 | QString PlatformInfoScriptingInterface::getGraphicsCardType() { | ||
| 76 | return qApp->getGraphicsCardType(); | ||
| 72 | } | 77 | } |