From 191f2f7b253654a4457a5f43fc95929520ed8f4f Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 10 Dec 2007 22:53:29 +0000 Subject: [PATCH] try to fix closeevent bug --- src/gui/qt/mainwindow/mainwindowimpl.cpp | 2 +- src/gui/qt/mainwindow/mainwindowimpl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 7569b50c..b850e93e 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -3648,7 +3648,7 @@ void mainWindowImpl::myButtonsCheckable(bool state) { } -void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); } +// // void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); } void mainWindowImpl::showMaximized () { this->showFullScreen (); diff --git a/src/gui/qt/mainwindow/mainwindowimpl.h b/src/gui/qt/mainwindow/mainwindowimpl.h index e1179e10..5b2c6731 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.h +++ b/src/gui/qt/mainwindow/mainwindowimpl.h @@ -311,7 +311,7 @@ public slots: void networkNotification(int); void networkStart(boost::shared_ptr game); - void closeEvent(QCloseEvent*); +// void closeEvent(QCloseEvent*); void localGameModification(); void networkGameModification();