diff options
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; } - |
