D28260: [QML] Set the remaining time in the monitor more reliably

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Mar 24 23:46:24 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200324/6b561602/attachment.html>


More information about the Kde-frameworks-devel mailing list