mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-10 03:42:09 +08:00
add description for SSH keys
old-commit-hash: c33f839e9d1b7bb4b5f87b70affbe881a2f20795
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user