MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / SetDeviceRandomPwdVisibility

Method SetDeviceRandomPwdVisibility

src/render_panel/ui/tab_server.cpp:734–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732 }
733
734 void TabServer::SetDeviceRandomPwdVisibility() {
735 if (settings_->IsDisplayRandomPwd() && !settings_->GetDeviceRandomPwd().empty()) {
736 lbl_machine_random_pwd_->setText(settings_->GetDeviceRandomPwd().c_str());
737 btn_hide_random_pwd_->ToImage1();
738 }
739 else {
740 lbl_machine_random_pwd_->setText("********");
741 btn_hide_random_pwd_->ToImage2();
742 }
743 }
744
745 void TabServer::UpdateServerState() {
746 bool spvr_client_alive = grApp->IsSpvrClientAlive();

Callers

nothing calls this directly

Calls 2

IsDisplayRandomPwdMethod · 0.80
GetDeviceRandomPwdMethod · 0.80

Tested by

no test coverage detected