mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
UI: limit version string length for master-ci
old-commit-hash: 364b083c59bfb078ec7088edbf28e5d23b3d60e8
This commit is contained in:
@@ -175,7 +175,7 @@ void DeveloperPanel::showEvent(QShowEvent *event) {
|
||||
Params params = Params();
|
||||
std::string brand = params.read_db_bool("Passive") ? "dashcam" : "openpilot";
|
||||
QList<QPair<QString, std::string>> dev_params = {
|
||||
{"Version", brand + " v" + params.get("Version", false)},
|
||||
{"Version", brand + " v" + params.get("Version", false).substr(0, 14)},
|
||||
{"Git Branch", params.get("GitBranch", false)},
|
||||
{"Git Commit", params.get("GitCommit", false).substr(0, 10)},
|
||||
{"Panda Firmware", params.get("PandaFirmwareHex", false)},
|
||||
|
||||
Reference in New Issue
Block a user