Removing AFK-warning message. Preparing integration of a new auto-AFK mode.
This commit is contained in:
@@ -598,7 +598,6 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
|
||||
|
||||
connect(this, SIGNAL(signalNetClientPlayerLeft(unsigned)), this, SLOT(netClientPlayerLeft(unsigned)));
|
||||
connect(this, SIGNAL(signalWarningAutoFoldInRankingGame(unsigned)), this, SLOT(showWarningAutoFoldInRankingGame(unsigned)));
|
||||
}
|
||||
|
||||
gameTableImpl::~gameTableImpl()
|
||||
@@ -3783,16 +3782,6 @@ void gameTableImpl::sendShowMyCardsSignal()
|
||||
}
|
||||
}
|
||||
|
||||
void gameTableImpl::showWarningAutoFoldInRankingGame(unsigned remainingAutoFolds)
|
||||
{
|
||||
QMessageBox::warning(this, tr("PokerTH - Warning"),
|
||||
tr("You have triggered a warning level of timeouts in a ranking game.\n"
|
||||
"After %1 additional timeouts the server needs to kick you to provide a better game flow!\n\n"
|
||||
"If you are temporarily away, you can use the \"away\" tools in the tool box on the right.").arg(remainingAutoFolds),
|
||||
QMessageBox::Ok);
|
||||
tabWidget_Right->setCurrentIndex(1);
|
||||
}
|
||||
|
||||
void gameTableImpl::closeMessageBoxes()
|
||||
{
|
||||
|
||||
|
||||
@@ -139,7 +139,6 @@ signals:
|
||||
void signalChangeVoteOnKickButtonsState(bool showHide);
|
||||
void signalEndVoteOnKick();
|
||||
void signalNetClientPlayerLeft(unsigned playerId);
|
||||
void signalWarningAutoFoldInRankingGame(unsigned remainingAutoFolds);
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -325,7 +324,6 @@ public slots:
|
||||
void showShowMyCardsButton();
|
||||
void sendShowMyCardsSignal();
|
||||
|
||||
void showWarningAutoFoldInRankingGame(unsigned);
|
||||
void closeMessageBoxes();
|
||||
|
||||
void hide();
|
||||
|
||||
@@ -396,11 +396,6 @@ void GuiWrapper::SignalNetClientWaitDialog()
|
||||
{
|
||||
myStartWindow->signalShowClientDialog();
|
||||
}
|
||||
void GuiWrapper::SignalNetClientWarningAutoFoldInRankingGame(unsigned remainingAutoFolds)
|
||||
{
|
||||
myW->signalWarningAutoFoldInRankingGame(remainingAutoFolds);
|
||||
}
|
||||
|
||||
void GuiWrapper::SignalNetClientGameChatMsg(const string &playerName, const string &msg)
|
||||
{
|
||||
myStartWindow->signalNetClientGameChatMsg(QString::fromUtf8(playerName.c_str()), QString::fromUtf8(msg.c_str()));
|
||||
|
||||
@@ -139,8 +139,6 @@ public:
|
||||
void SignalNetClientMsgBox(unsigned msgId);
|
||||
|
||||
void SignalNetClientWaitDialog();
|
||||
void SignalNetClientWarningAutoFoldInRankingGame(unsigned remainingAutoFolds);
|
||||
|
||||
|
||||
void SignalNetClientGameListNew(unsigned gameId);
|
||||
void SignalNetClientGameListRemove(unsigned gameId);
|
||||
|
||||
Reference in New Issue
Block a user