summaryrefslogtreecommitdiffstats
path: root/src/sysInfo.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-15 23:37:21 +0100
committerJonathan Bauer2011-03-15 23:37:21 +0100
commitf895dda6697c9c5edab87e7263d9c38a17ccb811 (patch)
tree3186bd8b6bf1a94079068546182f457e19898df2 /src/sysInfo.cpp
parentfbgui.conf default paths checks, update interval modifiable (only in .conf), ... (diff)
downloadfbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.tar.gz
fbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.tar.xz
fbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.zip
fixes
Diffstat (limited to 'src/sysInfo.cpp')
-rw-r--r--src/sysInfo.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sysInfo.cpp b/src/sysInfo.cpp
index f17f42b..ca20b95 100644
--- a/src/sysInfo.cpp
+++ b/src/sysInfo.cpp
@@ -6,7 +6,6 @@
#include <QVariantList>
#include <QByteArray>
-//static int eth0_index = 0;
// ------------------------------------------------------------------------------------------------
sysInfo::sysInfo(){
if (debug) qDebug() << "sysInfo created.";
@@ -25,7 +24,7 @@ QString sysInfo::getInfo(QString& infoName){
return getAllInfos();
else if (infoName == QString("json"))
return getNames();
- // still here?
+ /* unknown code */
return "info_error";
}
// ------------------------------------------------------------------------------------------------
@@ -56,6 +55,7 @@ QString sysInfo::getIPAddress(){
if (debug) qDebug() << "ip_error";
return "ip_error";
}
+// ------------------------------------------------------------------------------------------------
QByteArray sysInfo::getNames(){
QVariantMap foo;
@@ -91,8 +91,6 @@ QString sysInfo::getAllInfos(){
return json;
}
// ------------------------------------------------------------------------------------------------
-
-// ------------------------------------------------------------------------------------------------
QString sysInfo::getScriptOutput(QString cmd)
{
QProcess *process = new QProcess();