summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Goby2011-03-10 12:58:25 +0100
committerNiklas Goby2011-03-10 12:58:25 +0100
commitdd2f4cb7d413b9ec0824ac230fc88ff0dbb684a4 (patch)
tree091b0b07c61d4576ce3f3c820aa6e4f38453d4f3
parentsmall changes in the test method getAllInfo() in sysinfo class (diff)
downloadfbgui-dd2f4cb7d413b9ec0824ac230fc88ff0dbb684a4.tar.gz
fbgui-dd2f4cb7d413b9ec0824ac230fc88ff0dbb684a4.tar.xz
fbgui-dd2f4cb7d413b9ec0824ac230fc88ff0dbb684a4.zip
fixed wrong syntax in the getAllInfos() method
-rw-r--r--src/sysInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysInfo.cpp b/src/sysInfo.cpp
index b4c1dd0..dc8ba97 100644
--- a/src/sysInfo.cpp
+++ b/src/sysInfo.cpp
@@ -51,7 +51,7 @@ QString sysInfo::getIPAddress(){
}
// ------------------------------------------------------------------------------------------------
QString sysInfo::getAllInfos(){
- QString tmp = "[{\"mac\":\"" + getMACAddress() +"\", \"ip\":\"" + getIPAddress() +"\"]}]";
+ QString tmp = "[\"mac\":\"" + getMACAddress() +"\", \"ip\":\"" + getIPAddress() +"\"]";
return tmp;
}