Fixed some compiler warnings.

This commit is contained in:
lotodore
2007-11-07 14:11:57 +00:00
parent abdd751944
commit 5f5a3d90f5
5 changed files with 8 additions and 7 deletions
@@ -151,7 +151,7 @@ void joinNetworkGameDialogImpl::fillServerProfileList() {
treeWidget->resizeColumnToContents ( 3 );
}
void joinNetworkGameDialogImpl::itemFillForm (QTreeWidgetItem* item, int column) {
void joinNetworkGameDialogImpl::itemFillForm (QTreeWidgetItem* item, int /*column*/) {
bool toIntTrue;
@@ -166,7 +166,7 @@ void joinNetworkGameDialogImpl::itemFillForm (QTreeWidgetItem* item, int column)
TiXmlElement* profile = docHandle.FirstChild( "PokerTH" ).FirstChild( "ServerProfiles" ).FirstChild( item->data(0,0).toString().toStdString() ).ToElement();
if ( profile ) {
lineEdit_profileName->setText(QString::fromUtf8(profile->Attribute("Name")));
lineEdit_profileName->setText(QString::fromUtf8(profile->Attribute("Name")));
lineEdit_ipAddress->setText(QString::fromUtf8(profile->Attribute("Address")));
lineEdit_password->setText(QString::fromUtf8(profile->Attribute("Password")));
spinBox_port->setValue(QString::fromUtf8(profile->Attribute("Port")).toInt(&toIntTrue, 10));