diff options
author | Jonathan Bauer | 2012-01-31 14:34:18 +0100 |
---|---|---|
committer | Jonathan Bauer | 2012-01-31 14:34:18 +0100 |
commit | 6493439e032556171ed0dab51edabb2c0eecc72a (patch) | |
tree | 2d3be123777e90178df25889d58e37c1155790bf /src/fbgui/sysinfo.cpp | |
parent | testApp.sh fixed, adapt path to your build (diff) | |
download | fbgui-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.cpp | 2 |
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); |