SoftwarePanel: trim the OS Version (#21274)

old-commit-hash: a23584b6e2e77735ae2c8018b4c56006ef072f0c
This commit is contained in:
Dean Lee
2021-06-15 18:23:54 +08:00
committed by GitHub
parent 92eefd12e4
commit 8306df4b79
+1 -1
View File
@@ -258,7 +258,7 @@ void SoftwarePanel::updateLabels() {
updateBtn->setEnabled(true);
gitBranchLbl->setText(QString::fromStdString(params.get("GitBranch")));
gitCommitLbl->setText(QString::fromStdString(params.get("GitCommit")).left(10));
osVersionLbl->setText(QString::fromStdString(Hardware::get_os_version()));
osVersionLbl->setText(QString::fromStdString(Hardware::get_os_version()).trimmed());
}
QWidget * network_panel(QWidget * parent) {