[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-cvs] CVS: kdegames/atlantik/libatlantikui
From: kde () office ! kde ! org
Date: 2004-10-14 1:28:33
Message-ID: 416DD641.mailAH411MSRW () office ! kde ! org
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv13528/libatlantikui
Modified Files:
Tag: KDE_3_3_BRANCH
trade_widget.cpp
Log Message:
bugfix: show correct amount of players in trade widget
Index: trade_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/trade_widget.cpp,v
retrieving revision 1.46
retrieving revision 1.46.2.1
diff -u -d -r1.46 -r1.46.2.1
--- trade_widget.cpp 10 Feb 2004 19:46:36 -0000 1.46
+++ trade_widget.cpp 14 Oct 2004 01:28:30 -0000 1.46.2.1
@@ -143,7 +143,7 @@
m_status = new QLabel(this);
listCompBox->addWidget(m_status);
- m_status->setText(i18n("%1 out of %2 players accept current trade \
proposal.").arg(m_trade->acceptCount()).arg(m_trade->players().count())); \
+ m_status->setText( i18n( "%1 out of %2 players accept current trade proposal." \
).arg( m_trade->count( true ) ).arg( m_trade->count( false ) ) );
// mPlayerList->header()->hide();
// mPlayerList->setRootIsDecorated(true);
@@ -216,7 +216,7 @@
{
// TODO: add notification whether playerSelf has accepted or not and
// enable/disable accept button based on that
- m_status->setText(i18n("%1 out of %2 players accept current trade \
proposal.").arg(m_trade->acceptCount()).arg(m_trade->players().count())); \
+ m_status->setText( i18n( "%1 out of %2 players accept current trade proposal." \
).arg( m_trade->count( true ) ).arg( m_trade->count( false ) ) ); }
void TradeDisplay::playerChanged(Player *player)
_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@kde.org
https://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic