summaryrefslogtreecommitdiffstats
path: root/src/fbgui/sysinfo.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2012-01-31 14:34:18 +0100
committerJonathan Bauer2012-01-31 14:34:18 +0100
commit6493439e032556171ed0dab51edabb2c0eecc72a (patch)
tree2d3be123777e90178df25889d58e37c1155790bf /src/fbgui/sysinfo.cpp
parenttestApp.sh fixed, adapt path to your build (diff)
downloadfbgui-6493439e032556171ed0dab51edabb2c0eecc72a.tar.gz
fbgui-6493439e032556171ed0dab51edabb2c0eecc72a.tar.xz
fbgui-6493439e032556171ed0dab51edabb2c0eecc72a.zip
various logging fixes
Diffstat (limited to 'src/fbgui/sysinfo.cpp')
-rw-r--r--src/fbgui/sysinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fbgui/sysinfo.cpp b/src/fbgui/sysinfo.cpp
index 1af6f76..6338025 100644
--- a/src/fbgui/sysinfo.cpp
+++ b/src/fbgui/sysinfo.cpp
@@ -94,6 +94,8 @@ const QString SysInfo::getMainboardSerial() {
QVariantMap a;
if(QString(attr->name) == QString("board_serial")) {
out = QString(attr->value);
+ if (out.endsWith("\n"))
+ out.chop(1);
}
}
LOG4CXX_DEBUG(siLogger, "Mainboard Serial: " + out);