mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(profileform): Added log toxme errors
This commit is contained in:
parent
98a1f23bfb
commit
d2d5b23064
|
@ -520,7 +520,9 @@ void ProfileForm::onRegisterButtonClicked()
|
|||
break;
|
||||
default:
|
||||
QString errorMessage = Toxme::getErrorMessage(code);
|
||||
GUI::showWarning(tr("Toxme error"), errorMessage);
|
||||
qWarning() << errorMessage;
|
||||
QString translated = Toxme::translateErrorMessage(code);
|
||||
GUI::showWarning(tr("Toxme error"), translated);
|
||||
}
|
||||
|
||||
bodyUI->toxmeRegisterButton->setEnabled(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user