SoftwarePanel: trim the OS Version (#21274)

This commit is contained in:
Dean Lee
2021-06-15 18:23:54 +08:00
committed by GitHub
parent 305786f0da
commit a23584b6e2
+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) {