mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 18:36:58 +03:00
NOISSUE reformat and sanitize ganalytics
This commit is contained in:
parent
2ec15c32e4
commit
2f8c752d1f
11 changed files with 808 additions and 1034 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue