SoftwarePanel: trim the OS Version (#21274)

old-commit-hash: a23584b6e2
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent 92eefd12e4
commit 8306df4b79
  1. 2
      selfdrive/ui/qt/offroad/settings.cc

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

Loading…
Cancel
Save