summaryrefslogtreecommitdiffstats
path: root/src/sysInfo.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 13:47:42 +0100
committerJonathan Bauer2011-03-08 13:47:42 +0100
commit853fdb89190593ed4e904832137a29bf479c1d82 (patch)
tree556b9b5068fc3a6fa5080d50d890dbfb1cb4923b /src/sysInfo.cpp
parentstatement not needed, true by default. (diff)
downloadfbgui-853fdb89190593ed4e904832137a29bf479c1d82.tar.gz
fbgui-853fdb89190593ed4e904832137a29bf479c1d82.tar.xz
fbgui-853fdb89190593ed4e904832137a29bf479c1d82.zip
sysInfoTest.html as reference on how to call the function properly
Diffstat (limited to 'src/sysInfo.cpp')
-rw-r--r--src/sysInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sysInfo.cpp b/src/sysInfo.cpp
index b64fdce..8775777 100644
--- a/src/sysInfo.cpp
+++ b/src/sysInfo.cpp
@@ -3,11 +3,13 @@
#include <QTime>
#include <QNetworkInterface>
-sysInfo::sysInfo(){}
+sysInfo::sysInfo(){
+ if (debug) qDebug() << "sysInfo created.";
+}
sysInfo::~sysInfo(){}
QString sysInfo::getInfo(QString& infoName){
if (debug) qDebug() << "sysInfo : getInfo(" << infoName << ")";
- if (infoName == QString("MAC"))
+ if (infoName == QString("mac"))
return getMACAddress();
// still here? --> error
return "error";