MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / onRegisterAccountFinished

Method onRegisterAccountFinished

src/WizCreateAccountDialog.cpp:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void WizCreateAccountDialog::onRegisterAccountFinished(bool bOk)
72{
73 WizAsyncApi* api = dynamic_cast<WizAsyncApi*>(sender());
74 enableControls(true);
75
76 if (bOk) {
77 QDialog::accept();
78 } else {
79 QMessageBox::critical(this, "", api->lastErrorMessage());
80 }
81
82 api->deleteLater();
83}
84
85//void CreateAccountDialog::accountRegistered_done(bool bOk)
86//{

Callers

nothing calls this directly

Calls 1

lastErrorMessageMethod · 0.45

Tested by

no test coverage detected