Fixed some compiler warnings. Added error if game is running.

This commit is contained in:
lotodore committed 2007-09-03 18:05:39 +00:00
1 parent ecab6ed86b
commit 23d9bb71c3
8 files changed
+25 -28

No files matched your search

@@ -121,9 +121,9 @@ void joinNetworkGameDialogImpl::fillServerProfileList() {
TiXmlElement* profile = docHandle.FirstChild( "PokerTH" ).FirstChild( "ServerProfiles" ).FirstChild().ToElement();
if ( profile ) {
for( profile; profile; profile = profile->NextSiblingElement()) {
for( ; profile; profile = profile->NextSiblingElement()) {
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget,0);
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget,0);
item->setData(0, 0, QString::fromUtf8(profile->Attribute("Name")));
item->setData(1, 0, QString::fromUtf8(profile->Attribute("Address")));
item->setData(2, 0, profile->Attribute("Port"));