mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add Regist Tests
This commit is contained in:
parent
2a20ac4246
commit
0694af09ad
12 changed files with 187 additions and 58 deletions
|
@ -81,8 +81,8 @@ void RegistDialog::ValidateInput()
|
|||
void RegistDialog::accept()
|
||||
{
|
||||
ChiakiRegistInfo info = {};
|
||||
QByteArray psn_id = psn_id_edit->text().toUtf8();
|
||||
QByteArray host = host_edit->text().toUtf8();
|
||||
QByteArray psn_id = psn_id_edit->text().trimmed().toUtf8();
|
||||
QByteArray host = host_edit->text().trimmed().toUtf8();
|
||||
info.psn_id = psn_id.data();
|
||||
info.host = host.data();
|
||||
info.pin = (uint32_t)pin_edit->text().toULong();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue