From f895dda6697c9c5edab87e7263d9c38a17ccb811 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 15 Mar 2011 23:37:21 +0100 Subject: fixes --- src/sysInfo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/sysInfo.cpp') 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 #include -//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; @@ -90,8 +90,6 @@ QString sysInfo::getAllInfos(){ if (debug) qDebug() << json; return json; } -// ------------------------------------------------------------------------------------------------ - // ------------------------------------------------------------------------------------------------ QString sysInfo::getScriptOutput(QString cmd) { -- cgit v1.2.3-55-g7522