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

List:       kde-commits
Subject:    branches/KDE/3.5/kdeedu/kstars/kstars
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2008-01-29 15:06:47
Message-ID: 1201619207.477131.5932.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 768150 by harris:

Applying patch to fix bug #156845 (Custom catalog objects not 
reloaded in observing list).  Thanks for the patch, Carl!

No need to forward-port this fix; custom objects already get reloaded 
in observing lists in 4.x.

BUG: 156845
CCMAIL: kstars-devel@kde.org



 M  +8 -0      kstarsdata.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/kstarsdata.cpp #768149:768150
@@ -2321,6 +2321,14 @@
 		if ( name==starList.at(i)->gname( false ) ) return starList.at(i);
 	}
 
+       //Custom catalogs. 
+        for ( unsigned int i=0; i<CustomCatalogs.count(); ++i ) {
+                QPtrList<SkyObject> custCatObjs = CustomCatalogs.at(i)->objList();
+                for ( unsigned int j = 0; j < custCatObjs.count(); ++j ) {
+                        if ( name==custCatObjs.at(j)->name() ) return custCatObjs.at(j);
+                }
+        }
+
 	//reach here only if argument is not matched
 	return NULL;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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