D28741: [KJobUiDelegate] Add AutoHandlingEnabled flag

David Faure noreply at phabricator.kde.org
Sat Apr 11 12:03:14 BST 2020


dfaure created this revision.
dfaure added reviewers: broulik, davidedmundson, ervin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  This allows to simplify code from
  
    KDialogJobUiDelegate *delegate = new KDialogJobUiDelegate;
    delegate->setAutoErrorHandlingEnabled(true);
    job->setUiDelegate(delegate);
  
  to
  
    job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled));
  
  (which include warnings, just in case)

TEST PLAN
  Builds, requires a kjobwidgets change on top to be useful.

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

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

AFFECTED FILES
  src/lib/jobs/kjobuidelegate.cpp
  src/lib/jobs/kjobuidelegate.h

To: dfaure, broulik, davidedmundson, ervin
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200411/5b8a0b50/attachment.html>


More information about the Kde-frameworks-devel mailing list