send login infos to session
This commit is contained in:
@@ -61,8 +61,6 @@ void internetGameLoginDialogImpl::accept() {
|
|||||||
|
|
||||||
myConfig->writeBuffer();
|
myConfig->writeBuffer();
|
||||||
|
|
||||||
//TODO send login data to server
|
|
||||||
|
|
||||||
QDialog::accept();
|
QDialog::accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -875,6 +875,10 @@ QStringList startWindowImpl::getPlayerNicksList() {
|
|||||||
void startWindowImpl::showInternetGameLoginDialog() {
|
void startWindowImpl::showInternetGameLoginDialog() {
|
||||||
|
|
||||||
myInternetGameLoginDialog->exec();
|
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 ) {
|
//void startWindowImpl::keyPressEvent ( QKeyEvent * event ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user