MCPcopy Create free account
hub / github.com/MultiMC/Launcher / newAccount

Method newAccount

launcher/ui/dialogs/MSALoginDialog.cpp:132–141  ·  view source on GitHub ↗

Public interface

Source from the content-addressed store, hash-verified

130
131// Public interface
132MinecraftAccountPtr MSALoginDialog::newAccount(QWidget *parent, QString msg)
133{
134 MSALoginDialog dlg(parent);
135 dlg.ui->label->setText(msg);
136 if (dlg.exec() == QDialog::Accepted)
137 {
138 return dlg.m_account;
139 }
140 return 0;
141}

Callers

nothing calls this directly

Calls 2

setTextMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected