1
0
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:
Diadlo 2016-05-10 23:29:11 +03:00
parent 98a1f23bfb
commit d2d5b23064
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -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);