QTfrontend/ui/page/pagenetgame.cpp
changeset 6165 6fe3e922246e
parent 6151 9fd5b70acb1a
child 6171 8627698134b6
--- a/QTfrontend/ui/page/pagenetgame.cpp	Fri Oct 21 04:11:26 2011 +0200
+++ b/QTfrontend/ui/page/pagenetgame.cpp	Fri Oct 21 07:00:49 2011 +0200
@@ -36,7 +36,7 @@
     pageLayout->setColumnStretch(1, 50);
 
     // chatwidget
-    pChatWidget = new HWChatWidget(this, m_gameSettings, m_sdli, true);
+    pChatWidget = new HWChatWidget(this, m_gameSettings, true);
     pChatWidget->setShowReady(true); // show status bulbs by default
     pChatWidget->setShowFollow(false); // don't show follow in nicks' context menus
     pageLayout->addWidget(pChatWidget, 2, 0, 1, 2);
@@ -93,10 +93,9 @@
     connect(BtnUpdate, SIGNAL(clicked()), this, SLOT(onUpdateClick()));
 }
 
-PageNetGame::PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli) : AbstractPage(parent)
+PageNetGame::PageNetGame(QWidget* parent, QSettings * gameSettings) : AbstractPage(parent)
 {
     m_gameSettings = gameSettings;
-    m_sdli = sdli;
 
     initPage();