[Kstars-devel] Simplification KStarsData init.

Khudyakov Alexey alexey.skladnoy at gmail.com
Tue Aug 11 16:39:18 CEST 2009


Hello

I think logic of KStarsData initialization is needlessly complex. 
KStarsData::slotInit is big switch which is called multiple times. This is 
made this way to be able to try to load data multiple times. Also it's quite 
difficult to understand. 

I propose to change logic to simple variant: if file unavailable complain about 
it and continue if file isn't vital and user asked to continue. 

This allows for simple and easier to understand code. 

--
  Khudyakov Alexey


More information about the Kstars-devel mailing list