MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / newAccount

Method newAccount

launcher/ui/dialogs/OfflineLoginDialog.cpp:97–105  ·  view source on GitHub ↗

Public interface

Source from the content-addressed store, hash-verified

95
96// Public interface
97MinecraftAccountPtr OfflineLoginDialog::newAccount(QWidget* parent, QString msg)
98{
99 OfflineLoginDialog dlg(parent);
100 dlg.ui->label->setText(msg);
101 if (dlg.exec() == QDialog::Accepted) {
102 return dlg.m_account;
103 }
104 return nullptr;
105}

Callers

nothing calls this directly

Calls 2

setTextMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected