summaryrefslogtreecommitdiffstats
path: root/src/sysInfo.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 02:56:24 +0100
committerJonathan Bauer2011-03-08 02:56:24 +0100
commitad3942904e4e8dd997679cf7b47dcae0538b8a0a (patch)
tree2a294cb27ac8ced1d0d0d8ea373d75585ef9fb37 /src/sysInfo.cpp
parentcompiling.. (diff)
downloadfbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.tar.gz
fbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.tar.xz
fbgui-ad3942904e4e8dd997679cf7b47dcae0538b8a0a.zip
more
Diffstat (limited to 'src/sysInfo.cpp')
-rw-r--r--src/sysInfo.cpp4
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");