Hey,

In the initialization of StelApp I came across this funny bit of code for
setting the color scheme.
There is a short comment that says it is a hack to "fool caching". Can
someone explain it in more detail?
// Initialisation of the color scheme
bool tmp = confSettings->value("viewing/flag_night").toBool();
flagNightVision=!tmp;  // fool caching
setVisionModeNight(tmp)


-- 
Chiraag

You can't have everything in life,
In particular, the list of all lists that do not contain themselves.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to