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

Method ShowUserLoginDialog

src/render_panel/gr_workspace.cpp:703–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 }
702
703 void GrWorkspace::ShowUserLoginDialog() {
704 UserLoginDialog dialog(app_->GetContext());
705 auto r = dialog.exec();
706 if (r == -1) {
707 //
708 ShowUserRegisterDialog();
709 }
710 else if (r == 0) {
711 UpdateUserInfo();
712 }
713 }
714
715 void GrWorkspace::ShowSelectAvatarDialog() {
716 auto desktop_path = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);

Callers 1

GrWorkspaceMethod · 0.95

Calls 1

GetContextMethod · 0.45

Tested by

no test coverage detected