From c33f839e9d1b7bb4b5f87b70affbe881a2f20795 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 24 Mar 2021 00:32:09 -0700 Subject: [PATCH] add description for SSH keys --- selfdrive/ui/qt/widgets/ssh_keys.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/selfdrive/ui/qt/widgets/ssh_keys.cc b/selfdrive/ui/qt/widgets/ssh_keys.cc index b278bf6a7f..f6fd2486a3 100644 --- a/selfdrive/ui/qt/widgets/ssh_keys.cc +++ b/selfdrive/ui/qt/widgets/ssh_keys.cc @@ -5,7 +5,7 @@ #include "common/params.h" -SshControl::SshControl() : AbstractControl("SSH Keys", "", "") { +SshControl::SshControl() : AbstractControl("SSH Keys", "Warning: This grants SSH access to all public keys in your GitHub settings. Never enter a GitHub username other than your own. A comma employee will NEVER ask you to add their GitHub username.", "") { // setup widget btn.setStyleSheet(R"( padding: 0; @@ -40,9 +40,6 @@ SshControl::SshControl() : AbstractControl("SSH Keys", "", "") { connect(networkTimer, SIGNAL(timeout()), this, SLOT(timeout())); refresh(); - - // TODO: add desription through AbstractControl - //QLabel("Warning: This grants SSH access to all public keys in your GitHub settings. Never enter a GitHub username other than your own. A Comma employee will NEVER ask you to add their GitHub username."); } void SshControl::refresh() {