[Kde-pim] Excessive amount of queries

Milian Wolff mail at milianw.de
Mon Dec 8 09:53:59 GMT 2014


On Friday 05 December 2014 18:50:14 Daniel Vrátil wrote:
> The change has been pushed now, feel free to test :-)

Nice work, seems to have helped a lot already! Some questions on the code:

CollectionStatistics::getCollectionStatistics
-> could that use CountQueryBuilder?

CollectionStatistics::instance
-> can we rely on proper static initialization instead, or is this code run 
with compilers that don't implement this properly?
-> at least, use QMutexLocker please

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list