Commit 4227bfb2 authored by Pekka Vuorela's avatar Pekka Vuorela

[nemo-qml-plugin-systemsettings] Remove trailing linebreak from serial number. Fixes MER#1047

parent 66d58fd4
......@@ -161,7 +161,7 @@ QString AboutSettings::serial() const
QFile serial_txt("/config/serial/serial.txt");
if (serial_txt.exists()) {
serial_txt.open(QIODevice::ReadOnly);
return QString::fromUtf8(serial_txt.readAll());
return QString::fromUtf8(serial_txt.readAll()).trimmed();
} else {
return "";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment