SoftwarePanel: trim the OS Version (#21274)

pull/21275/head
Dean Lee 2021-06-15 18:23:54 +08:00 committed by GitHub
parent 305786f0da
commit a23584b6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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) {