closeable waitingforstartgame dialog under macosx
This commit is contained in:
@@ -36,6 +36,9 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(startWindowImpl *parent, ConfigFile *c)
|
|||||||
waitStartGameMsgBox = new QMessageBox(this);
|
waitStartGameMsgBox = new QMessageBox(this);
|
||||||
waitStartGameMsgBox->setText(tr("Starting game. Please wait ..."));
|
waitStartGameMsgBox->setText(tr("Starting game. Please wait ..."));
|
||||||
waitStartGameMsgBox->setWindowModality(Qt::NonModal);
|
waitStartGameMsgBox->setWindowModality(Qt::NonModal);
|
||||||
|
#ifdef __APPLE__
|
||||||
|
waitStartGameMsgBox->setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog);
|
||||||
|
#endif
|
||||||
waitStartGameMsgBox->setStandardButtons(QMessageBox::NoButton);
|
waitStartGameMsgBox->setStandardButtons(QMessageBox::NoButton);
|
||||||
|
|
||||||
waitStartGameMsgBoxTimer = new QTimer(this);
|
waitStartGameMsgBoxTimer = new QTimer(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user