bruns added a comment.
In D28260#633929 <https://phabricator.kde.org/D28260#633929>, @ngraham wrote: > Much nicer! Should the timer be destroyed when indexing is finished, though? QElapsedTimer is basically a timestamp with is updated on `{re}start()`. So we have to start it at least once, and reset it on `elapsed() > 1s`. Everything else does not matter much. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D28260 To: bruns, #baloo, ngraham Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
