equal
deleted
inserted
replaced
1524 if (!nickname.isEmpty()) { |
1524 if (!nickname.isEmpty()) { |
1525 pwDialog->leNickname->setText(nickname); |
1525 pwDialog->leNickname->setText(nickname); |
1526 pwDialog->lePassword->setFocus(); |
1526 pwDialog->lePassword->setFocus(); |
1527 } |
1527 } |
1528 |
1528 |
1529 //if dialog close, create an error message |
1529 //if dialog aborted, return failure |
1530 if (pwDialog->exec() != QDialog::Accepted) { |
1530 if (pwDialog->exec() != QDialog::Accepted) { |
1531 delete pwDialog; |
1531 delete pwDialog; |
1532 GoBack(); |
1532 GoBack(); |
1533 break; |
1533 return 1; |
1534 } |
1534 } |
1535 |
1535 |
1536 //set nick and pass from the dialog |
1536 //set nick and pass from the dialog |
1537 nickname = pwDialog->leNickname->text(); |
1537 nickname = pwDialog->leNickname->text(); |
1538 password = pwDialog->lePassword->text(); |
1538 password = pwDialog->lePassword->text(); |