diff options
| author | Jonathan Bauer | 2011-03-07 23:42:54 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-07 23:42:54 +0100 |
| commit | e9e362bc2430fa54bfe1fcab8eb361721d93a4f1 (patch) | |
| tree | 0896dbf72fe8e257b8843d819f0d9873fd441b0c /src/sysInfo.cpp | |
| parent | typos (diff) | |
| download | fbgui-e9e362bc2430fa54bfe1fcab8eb361721d93a4f1.tar.gz fbgui-e9e362bc2430fa54bfe1fcab8eb361721d93a4f1.tar.xz fbgui-e9e362bc2430fa54bfe1fcab8eb361721d93a4f1.zip | |
jso
Diffstat (limited to 'src/sysInfo.cpp')
| -rw-r--r-- | src/sysInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysInfo.cpp b/src/sysInfo.cpp index 647f1c1..575c801 100644 --- a/src/sysInfo.cpp +++ b/src/sysInfo.cpp @@ -7,6 +7,7 @@ extern bool debug; sysInfo::sysInfo(){} sysInfo::~sysInfo(){} QString sysInfo::getInfo(QString& infoName){ + if (debug) qDebug() << "sysInfo : getInfo(" << infoName << ")"; if (infoName == QString("time")) return getTime(); if (infoName == QString("MAC")) @@ -26,6 +27,6 @@ QString sysInfo::getMACAddress(){ macAddress = list.at(i).hardwareAddress(); if (debug) qDebug() << str << " : " << macAddress; } + // returns only the latest found interface ... to fix return macAddress; } - |
