qt settings touchups
This commit is contained in:
parent
9d84a835d8
commit
d8437a58b5
|
@ -171,13 +171,11 @@ QWidget * developer_panel() {
|
|||
// TODO: enable SSH toggle and github keys
|
||||
|
||||
Params params = Params();
|
||||
|
||||
std::string brand = params.read_db_bool("Passive") ? "dashcam" : "openpilot";
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> labels = {
|
||||
{"Version", brand + " " + params.get("Version", false)},
|
||||
{"Version", brand + " v" + params.get("Version", false)},
|
||||
{"Git Branch", params.get("GitBranch", false)},
|
||||
{"Git Commit", params.get("GitCommit", false)},
|
||||
{"Git Commit", params.get("GitCommit", false).substr(0, 10)},
|
||||
{"Panda Firmware", params.get("PandaFirmwareHex", false)},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue