From d814d4e0440ceafb1306a28c35653166b3dbeb70 Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 5 Nov 2011 22:22:41 +0000 Subject: [PATCH] test invite-info-box as non-modal --- src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index 3f7fb537..0adde5d2 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -1558,7 +1558,8 @@ void gameLobbyDialogImpl::showInfoMsgBox() switch(infoMsgToShowId) { case 2: { myMessageDialogImpl dialog(myConfig, this); - dialog.exec(2, tr("You have entered a game with type \"invite-only\".\nFeel free to invite other players by right-clicking on their nick in the available players list."), tr("PokerTH - Info Message"), QPixmap(":/gfx/ktip.png"), QDialogButtonBox::Ok, true); + dialog.setWindowModality(Qt::NonModal); + dialog.show(2, tr("You have entered a game with type \"invite-only\".\nFeel free to invite other players by right-clicking on their nick in the available players list."), tr("PokerTH - Info Message"), QPixmap(":/gfx/ktip.png"), QDialogButtonBox::Ok, true); } break; default: