diff options
| author | Jonathan Bauer | 2011-03-21 10:51:51 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-21 10:51:51 +0100 |
| commit | 635b5c64f3107d4c01ae314fb75e02c571b51c54 (patch) | |
| tree | 4d2a3a679a569f9133ca8d3d5f5159b393accde3 /src/sysInfo.cpp | |
| parent | debug modes. -D now needs an arg: 0 for regular terminal output, 1 for debug ... (diff) | |
| download | fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.tar.gz fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.tar.xz fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.zip | |
transformed c syntax comments to c++ convention...
Diffstat (limited to 'src/sysInfo.cpp')
| -rw-r--r-- | src/sysInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysInfo.cpp b/src/sysInfo.cpp index 81e39f8..ff114e8 100644 --- a/src/sysInfo.cpp +++ b/src/sysInfo.cpp @@ -7,7 +7,7 @@ sysInfo::sysInfo(){ // ------------------------------------------------------------------------------------------------ sysInfo::~sysInfo(){} // ------------------------------------------------------------------------------------------------ -QString sysInfo::getInfo(QString& infoName){ +QString sysInfo::getInfo(const QString& infoName){ qxtLog->debug() << "[sysInfo] requested " << infoName; if (infoName == QString("mac")) return getMACAddress(); @@ -22,7 +22,7 @@ QString sysInfo::getInfo(QString& infoName){ } // ------------------------------------------------------------------------------------------------ QString sysInfo::getMACAddress(){ - /* Returns MAC address of eth0 for now. */ + // Returns MAC address of eth0 for now QNetworkInterface qni = QNetworkInterface::interfaceFromName(QString("eth0")); if (!qni.isValid()){ qxtLog->debug() << "No interface matching \"eth0\" found."; |
