[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-devel] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.31,1.32
From:       kde () office ! kde ! org
Date:       2002-04-30 18:26:22
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv16819/libatlantikclient

Modified Files:
	atlantik_network.cpp 
Log Message:
Estate::m_estateGroup is now pointer to group instead of QString

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- atlantik_network.cpp	2002/04/30 15:04:42	1.31
+++ atlantik_network.cpp	2002/04/30 18:26:20	1.32
@@ -500,8 +500,12 @@
 						estate->setIsMortgaged(a.value().toInt());
 
 					a = e.attributeNode(QString("group"));
-					if (estate && !a.isNull())
-						estate->setGroup(a.value());
+					if (!a.isNull())
+					{
+						EstateGroup *estateGroup = m_estateGroups[a.value()];
+						if (estate)
+							estate->setEstateGroup(estateGroup);
+					}
 
 					a = e.attributeNode(QString("can_toggle_mortgage"));
 					if (estate && !a.isNull())

_______________________________________________
atlantik-devel mailing list
atlantik-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic