From: Chiraag J. <chi...@gm...> - 2012-04-05 10:26:33
|
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. |