diff options
Diffstat (limited to 'src/sysInfo.cpp')
| -rw-r--r-- | src/sysInfo.cpp | 6 |
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(); |
