diff options
| author | Jonathan Bauer | 2011-03-08 02:56:24 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-08 02:56:24 +0100 |
| commit | ad3942904e4e8dd997679cf7b47dcae0538b8a0a (patch) | |
| tree | 2a294cb27ac8ced1d0d0d8ea373d75585ef9fb37 /src/sysInfo.cpp | |
| parent | compiling.. (diff) | |
| download | fbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.tar.gz fbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.tar.xz fbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.zip | |
more
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 1866c27..c9dfa76 100644 --- a/src/sysInfo.cpp +++ b/src/sysInfo.cpp @@ -3,8 +3,6 @@ #include <QTime> #include <QNetworkInterface> -extern bool debug; - sysInfo::sysInfo(){} sysInfo::~sysInfo(){} QString sysInfo::getInfo(QString& infoName){ @@ -13,6 +11,8 @@ QString sysInfo::getInfo(QString& infoName){ return getTime(); if (infoName == QString("MAC")) return getMACAddress(); + // still here? --> error + return "error"; } QString sysInfo::getTime(){ return QTime::currentTime().toString("hh:mm:ss"); |
