send login infos to session

This commit is contained in:
doitux
2009-09-24 19:56:21 +00:00
parent 3112c9ded7
commit 64613ac9b4
2 changed files with 4 additions and 2 deletions
@@ -875,6 +875,10 @@ QStringList startWindowImpl::getPlayerNicksList() {
void startWindowImpl::showInternetGameLoginDialog() {
myInternetGameLoginDialog->exec();
// send login infos
mySession->startInternetClient(std::string(myInternetGameLoginDialog->lineEdit_username->text().toUtf8().constData()), std::string(myInternetGameLoginDialog->lineEdit_password->text().toUtf8().constData()));
}
//void startWindowImpl::keyPressEvent ( QKeyEvent * event ) {