Added delays between dealing cards. Added check for IPv6.
This commit is contained in:
@@ -91,6 +91,7 @@ void joinNetworkGameDialogImpl::exec() {
|
||||
fillServerProfileList();
|
||||
}
|
||||
|
||||
checkBox_ipv6->setEnabled(socket_has_ipv6());
|
||||
checkBox_sctp->setEnabled(socket_has_sctp());
|
||||
|
||||
QDialog::exec();
|
||||
|
||||
@@ -2597,12 +2597,11 @@ void mainWindowImpl::networkGameModification() {
|
||||
void mainWindowImpl::closeEvent(QCloseEvent *event) { quitPokerTH(); }
|
||||
|
||||
void mainWindowImpl::quitPokerTH() {
|
||||
|
||||
|
||||
mySession->terminateNetworkClient();
|
||||
if (myServerGuiInterface.get()) myServerGuiInterface->getSession().terminateNetworkServer();
|
||||
|
||||
mySDLPlayer->closeAudio();
|
||||
|
||||
|
||||
|
||||
// cout << "PokerTH finished" << endl;
|
||||
qApp->quit();
|
||||
}
|
||||
|
||||
@@ -137,6 +137,7 @@ void settingsDialogImpl::exec() {
|
||||
spinBox_logStoreDuration->setValue(myConfig->readConfigInt("LogStoreDuration"));
|
||||
comboBox_logInterval->setCurrentIndex(myConfig->readConfigInt("LogInterval"));
|
||||
|
||||
checkBox_useIpv6->setEnabled(socket_has_ipv6());
|
||||
checkBox_useSctp->setEnabled(socket_has_sctp());
|
||||
|
||||
QDialog::exec();
|
||||
|
||||
@@ -87,6 +87,6 @@ void SDLPlayer::closeAudio() {
|
||||
if(audioEnabled) {
|
||||
audioDone();
|
||||
Mix_CloseAudio();
|
||||
SDL_Quit();
|
||||
}
|
||||
SDL_Quit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user