diff options
Diffstat (limited to 'libraries/ganalytics/src/sys_unix.cpp')
-rw-r--r-- | libraries/ganalytics/src/sys_unix.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/ganalytics/src/sys_unix.cpp b/libraries/ganalytics/src/sys_unix.cpp index 9569fbb6..866c9fdb 100644 --- a/libraries/ganalytics/src/sys_unix.cpp +++ b/libraries/ganalytics/src/sys_unix.cpp @@ -3,14 +3,14 @@ #include <sys/utsname.h> #include <fstream> -QString Sys::getSystemInfo() +Sys::KernelInfo Sys::getKernelInfo() { + Sys::KernelInfo out; struct utsname buf; uname(&buf); - QString system(buf.sysname); - QString release(buf.release); - - return system + "; " + release; + out.kernelName = buf.sysname; + out.kernelVersion = buf.release; + return out; } uint64_t Sys::getSystemRam() |