mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(profileform): Deleted extra check and extra url
This commit is contained in:
parent
88de3a0a7a
commit
1f7e23d007
|
@ -84,7 +84,6 @@ ProfileForm::ProfileForm(QWidget *parent) :
|
|||
|
||||
/* Toxme section init */
|
||||
bodyUI->toxmeServersList->addItem("toxme.io");
|
||||
bodyUI->toxmeServersList->addItem("toxme.io");
|
||||
QString toxmeInfo = Settings::getInstance().getToxmeInfo();
|
||||
if (toxmeInfo.isEmpty()) // User not registered
|
||||
showRegisterToxme();
|
||||
|
@ -477,8 +476,6 @@ void ProfileForm::onRegisterButtonClicked()
|
|||
QString bio = bodyUI->toxmeBio->text();
|
||||
QString server = bodyUI->toxmeServersList->currentText();
|
||||
bool privacy = bodyUI->toxmePrivacy->isChecked();
|
||||
if (name.isEmpty())
|
||||
return;
|
||||
|
||||
Core* oldCore = Core::getInstance();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user