Advertisement
Guest User

Untitled

a guest
May 19th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. diff -r 60cf8960d3e2 wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp
  2. --- a/wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp Wed Apr 07 22:40:32 2010 +0200
  3. +++ b/wengophone/src/presentation/qt/login/QtAddSIPAccount.cpp Fri Apr 16 11:18:30 2010 +0200
  4. @@ -86,6 +86,7 @@
  5. }
  6.  
  7. std::string login = (const char *) _ui->login->text().trimmed().toLocal8Bit();
  8. + std::string username = (const char *) _ui->username->text().trimmed().toLocal8Bit();
  9. std::string password = (const char *) _ui->password->text().trimmed().toLocal8Bit();
  10. std::string realm = (const char *) _ui->realm->text().trimmed().toLocal8Bit();
  11. std::string displayname = (const char *)_ui->displayname->text().toLocal8Bit();
  12. @@ -116,7 +117,7 @@
  13. ////
  14.  
  15. //create sip account
  16. - SipAccount sipAccount(login, login, password, realm,
  17. + SipAccount sipAccount(username,login, password, realm,
  18. registerServer, registerPort, proxyServer, proxyPort,
  19. true/*_ui->rememberPassword->isChecked()*/,
  20. _ui->activateSIMPLE->isChecked());
  21. @@ -129,7 +130,7 @@
  22. //if modifying old profile is deleted
  23. UserProfile * userProfile = _cUserProfileHandler.getUserProfileHandler().getUserProfile(_accountName);
  24. SipAccount * tmpSipAccount = userProfile->getSipAccount();
  25. - tmpSipAccount->setUsername(login);
  26. + tmpSipAccount->setUsername(username);
  27. tmpSipAccount->setIdentity(login);
  28. tmpSipAccount->setRealm(realm);
  29. tmpSipAccount->setPassword(password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement