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

Method ProcessDelete

src/render_panel/ui/st_security_visitor.cpp:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 void StSecurityVisitor::ProcessDelete(const std::shared_ptr<VisitRecord>& record) {
284 TcDialog dialog(tcTr("id_warning"), tcTr("id_delete_this_record"));
285 if (dialog.exec() == kDoneOk) {
286 visit_op_->Delete(record->id_);
287 auto current_page = page_widget_->getCurrentPage();
288 LoadPage(current_page);
289 }
290 }
291
292 void StSecurityVisitor::OnTranslate() {
293

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected