close-button fix ONLY for macosx

This commit is contained in:
doitux
2007-12-04 01:37:43 +00:00
parent 006c12e5b6
commit a3152ba87e
14 changed files with 29 additions and 3 deletions
@@ -21,8 +21,10 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myW(NULL), myConfig(c), mySession(NULL), currentGameName(""), myPlayerId(0), isAdmin(false), inGame(false), myChat(NULL), keyUpCounter(0)
{
#ifdef __APPLE__
setWindowModality(Qt::ApplicationModal);
setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog);
#endif
setupUi(this);
myChat = new LobbyChat(this, myConfig);