[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Lukas Middendorf
lukas.middendorf at freenet.de
Thu Dec 10 22:49:51 CET 2009
Am Thursday 10 December 2009 schrieb Alexey Khudyakov:
> SVN commit 1061030 by khudyakov:
>
> Revert to old calculations of Sun rise/set time. (Not based on
> KSAlmanach). This gives ~10x perfomance increase.
>
> Actually culprit was function which calculate Moon's phase.
> When Moon's phase changed it reloads image and this is total
> perfomance killer.
>
> CCBUG: 204742
> CCMAIL: kstars-devel at kde.org
>
> M +15 -19 calendarwidget.cpp
>
>
> --- trunk/KDE/kdeedu/kstars/kstars/tools/calendarwidget.cpp
> #1061029:1061030 @@ -26,6 +26,8 @@
> #include "skycalendar.h"
> #include "ksalmanac.h"
>
> +#include "ksdebug.h"
> +
> #define XPADDING 20
> #define YPADDING 20
> #define BIGTICKSIZE 10
ksdebug.h apparently isn't needed here but it breaks compilation for me:
/mnt/daten/Software/kde/kdeedu/kstars/kstars/tools/calendarwidget.cpp:29:21:
error: ksdebug.h: No such file or directory
More information about the Kstars-devel
mailing list