[atlantik-cvs] CVS: kdeaddons/atlantikdesigner/designer group.cpp,1.7.2.1,1.7.2.2

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdeaddons/atlantikdesigner/designer
In directory office:/tmp/cvs-serv3872/designer

Modified Files:
      Tag: KDE_3_1_BRANCH
	group.cpp 
Log Message:
fix bug 53221

Index: group.cpp
===================================================================
RCS file: /home/kde/kdeaddons/atlantikdesigner/designer/group.cpp,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -d -r1.7.2.1 -r1.7.2.2
--- group.cpp	12 Jan 2003 08:16:32 -0000	1.7.2.1
+++ group.cpp	23 Jun 2003 04:21:48 -0000	1.7.2.2
@@ -144,7 +144,13 @@
 
 void GroupEditor::updateSettings(QListBoxItem *item)
 {
-	for (ConfigEstateGroupList::Iterator it =  mylist.begin(); it != mylist.end(); ++it)
+	if (!mylist.size())
+		return;
+
+	if (!item)
+		return;
+
+	for (ConfigEstateGroupList::Iterator it =  mylist.begin(); it != mylist.end() ; ++it)
 	{
 		if ((*it).name() == item->text())
 		{
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.