mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08:42 +00:00
NOISSUE reformat and sanitize ganalytics
This commit is contained in:
13
libraries/ganalytics/src/sys_unix.cpp
Normal file
13
libraries/ganalytics/src/sys_unix.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "sys.h"
|
||||
|
||||
#include <sys/utsname.h>
|
||||
|
||||
QString Sys::getSystemInfo()
|
||||
{
|
||||
struct utsname buf;
|
||||
uname(&buf);
|
||||
QString system(buf.sysname);
|
||||
QString release(buf.release);
|
||||
|
||||
return system + "; " + release;
|
||||
}
|
Reference in New Issue
Block a user