1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-07 01:37:08 +02:00
ScreenPlay/ScreenPlaySysInfo/sysinfo.cpp

16 lines
265 B
C++
Raw Normal View History

2018-09-19 13:19:51 +02:00
#include "sysinfo.h"
SysInfo::SysInfo(QQuickItem *parent):
QQuickItem(parent)
{
2018-10-26 12:05:23 +02:00
// FIXME Elias 2018 QQmlEngine cannot handle smartpointers yet....
m_ram = new RAM();
m_cpu = new CPU();
2018-09-19 13:19:51 +02:00
}
SysInfo::~SysInfo()
{
2018-10-26 12:05:23 +02:00
delete m_cpu;
delete m_ram;
2018-09-19 13:19:51 +02:00
}