--- a/QTfrontend/pages.cpp Mon Feb 08 21:49:52 2010 +0000
+++ b/QTfrontend/pages.cpp Tue Feb 09 01:47:50 2010 +0000
@@ -632,7 +632,7 @@
sbPort->setValue(46631);
}
-PageNetGame::PageNetGame(QWidget* parent) : AbstractPage(parent)
+PageNetGame::PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli) : AbstractPage(parent)
{
QGridLayout * pageLayout = new QGridLayout(this);
pageLayout->setSizeConstraint(QLayout::SetMinimumSize);
@@ -641,7 +641,7 @@
pageLayout->setColumnStretch(1, 50);
// chatwidget
- pChatWidget = new HWChatWidget(this);
+ pChatWidget = new HWChatWidget(this, gameSettings, sdli);
pageLayout->addWidget(pChatWidget, 1, 0, 1, 2);
pageLayout->setRowStretch(1, 100);
@@ -796,7 +796,7 @@
label->setText("In game...");
}
-PageRoomsList::PageRoomsList(QWidget* parent) :
+PageRoomsList::PageRoomsList(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli) :
AbstractPage(parent)
{
QGridLayout * pageLayout = new QGridLayout(this);
@@ -818,7 +818,7 @@
pageLayout->addWidget(roomsList, 1, 0, 3, 1);
pageLayout->setRowStretch(2, 100);
- chatWidget = new HWChatWidget(this);
+ chatWidget = new HWChatWidget(this, gameSettings, sdli);
pageLayout->addWidget(chatWidget, 4, 0, 1, 2);
pageLayout->setRowStretch(4, 350);