From e9e362bc2430fa54bfe1fcab8eb361721d93a4f1 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 7 Mar 2011 23:42:54 +0100 Subject: jso --- src/sysInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sysInfo.cpp') 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; } - -- cgit v1.2.3-55-g7522