Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r 60cf8960d3e2 wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp
- --- a/wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp Wed Apr 07 22:40:32 2010 +0200
- +++ b/wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp Fri Apr 16 11:18:30 2010 +0200
- @@ -86,6 +86,7 @@
- }
- std::string login = (const char *) _ui->login->text().trimmed().toLocal8Bit();
- + std::string username = (const char *) _ui->username->text().trimmed().toLocal8Bit();
- std::string password = (const char *) _ui->password->text().trimmed().toLocal8Bit();
- std::string realm = (const char *) _ui->realm->text().trimmed().toLocal8Bit();
- std::string displayname = (const char *)_ui->displayname->text().toLocal8Bit();
- @@ -116,7 +117,7 @@
- ////
- //create sip account
- - SipAccount sipAccount(login, login, password, realm,
- + SipAccount sipAccount(username,login, password, realm,
- registerServer, registerPort, proxyServer, proxyPort,
- true/*_ui->rememberPassword->isChecked()*/,
- _ui->activateSIMPLE->isChecked());
- @@ -129,7 +130,7 @@
- //if modifying old profile is deleted
- UserProfile * userProfile = _cUserProfileHandler.getUserProfileHandler().getUserProfile(_accountName);
- SipAccount * tmpSipAccount = userProfile->getSipAccount();
- - tmpSipAccount->setUsername(login);
- + tmpSipAccount->setUsername(username);
- tmpSipAccount->setIdentity(login);
- tmpSipAccount->setRealm(realm);
- tmpSipAccount->setPassword(password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement