Revision 43b10af...
Go back to digest for 9th January 2011Optimization in KDE-PIM
Tobias Koenig committed changes in [kdepim] /mobile/calendar:
Reduce calls to KDateTime::currentDateTime
Calling KDateTime::currentDateTime is quite expensive since it
includes timezone handling. So keep a reference timestamp and update
mToday only if it is older than 1 minute.
File Changes
Modified 2 files
- /mobile/calendar
- /eventlistproxy.cpp
- /eventlistproxy.h
2 files changed in total