From d3207f723b1298ed3e003ff23858e21fa08a7d18 Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 11 Dec 2007 22:42:58 +0000 Subject: [PATCH] Fixed client termination (pure virtual function called issue). Utf8 is all fine. --- src/gui/qt/mainwindow/mainwindowimpl.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index b850e93e..03b0fc89 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -3663,11 +3663,13 @@ void mainWindowImpl::quitPokerTH() { if (msgBox.exec() == QMessageBox::Yes ) { mySession->terminateNetworkClient(); + stopTimer(); if (myServerGuiInterface.get()) myServerGuiInterface->getSession().terminateNetworkServer(); qApp->quit(); - } + } } - else { + else { + mySession->terminateNetworkClient(); stopTimer(); qApp->quit(); }