diff options
Diffstat (limited to 'src/sysInfo.cpp')
| -rw-r--r-- | src/sysInfo.cpp | 6 |
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"; |
