D7866: Set progress for CMakeServerImportJobs

Francis Herne noreply at phabricator.kde.org
Sun Sep 17 22:09:42 UTC 2017


flherne created this revision.
flherne added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  This avoids a spam of "unhandled message" warnings to the terminal.
  
  Not using setProgressAmount, because 'progressMaximum' seems to always be 1000 and none of the KJob::Unit options make sense.
  
  TBH, I'm not sure this is useful, wouldn't mind just adding 'progress' to the known-but-ignored check.

TEST PLAN
  Tested that the percentage is set to a sane value with each message. No more stderr spam when loading CMake projects.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D7866

AFFECTED FILES
  plugins/cmake/cmakeserverimportjob.cpp

To: flherne, #kdevelop
Cc: kdevelop-devel, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170917/de6a92d0/attachment.html>


More information about the KDevelop-devel mailing list