mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
cleanup
This commit is contained in:
parent
7bf3ff1ff4
commit
cb74c734f2
4 changed files with 3 additions and 22 deletions
|
|
@ -298,27 +298,6 @@ void MessageLogWidget::connectToPlayer(Player *player)
|
|||
connect(player, SIGNAL(logDumpZone(Player *, CardZone *, int)), this, SLOT(logDumpZone(Player *, CardZone *, int)));
|
||||
connect(player, SIGNAL(logStopDumpZone(Player *, CardZone *)), this, SLOT(logStopDumpZone(Player *, CardZone *)));
|
||||
connect(player, SIGNAL(logDrawCards(Player *, int)), this, SLOT(logDrawCards(Player *, int)));
|
||||
/*
|
||||
connect(game, SIGNAL(logJoin(Player *)), this, SLOT(logJoin(Player *)));
|
||||
connect(game, SIGNAL(logLeave(Player *)), this, SLOT(logLeave(Player *)));
|
||||
connect(game, SIGNAL(logGameClosed()), this, SLOT(logGameClosed()));
|
||||
connect(game, SIGNAL(logJoinSpectator(QString)), this, SLOT(logJoinSpectator(QString)));
|
||||
connect(game, SIGNAL(logLeaveSpectator(QString)), this, SLOT(logLeaveSpectator(QString)));
|
||||
|
||||
//Alert Test
|
||||
connect(game, SIGNAL(logSay(Player *, QString)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logJoin(Player *)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logLeave(Player *)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logSetActivePlayer(Player *)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(setActivePhase(int)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logDraw(Player *, int)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logMoveCard(Player *, QString, CardZone *, int, CardZone *, int)), this, SLOT(msgAlert()));
|
||||
connect(game, SIGNAL(logGameStart()), this, SLOT(msgAlert()));
|
||||
*/}
|
||||
|
||||
void MessageLogWidget::msgAlert()
|
||||
{
|
||||
QApplication::alert(this);
|
||||
}
|
||||
|
||||
MessageLogWidget::MessageLogWidget(QWidget *parent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue