Skip to content

Commit

Permalink
[nemo-qml-plugin-systemsettings] Remove trailing linebreak from seria…
Browse files Browse the repository at this point in the history
…l number. Fixes MER#1047
  • Loading branch information
pvuorela committed Jun 1, 2015
1 parent 66d58fd commit 4227bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aboutsettings.cpp
Expand Up @@ -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 "";
}
Expand Down

0 comments on commit 4227bfb

Please sign in to comment.