D28434: [TodoView] Use parents collection when creating a subtodo

Igor Poboiko noreply at phabricator.kde.org
Mon Mar 30 14:07:23 BST 2020


poboiko created this revision.
poboiko added a reviewer: dvratil.
Herald added a project: KDE PIM.
poboiko requested review of this revision.

REVISION SUMMARY
  When creating a subtodo of an existing task, it should belong to the same collection.
  
  Apparenly, there was a typo: parent collection was determined, but not passed to `createIncidence` call.
  Just fix it.

TEST PLAN
  1. Open KOrganizer todo list, select an existing todo
  2. Enter new todo description in the text widget below the list, press Ctrl+Enter
  3. (without patch) It asks for a collection despite attempting to create a sub-todo
  4. (with patch) A sub-todo gets created in the same collection

REPOSITORY
  R76 PIM: Event Views

BRANCH
  dont-ask-for-collection-subtodo (branched from master)

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

AFFECTED FILES
  src/todo/todoview.cpp

To: poboiko, dvratil
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200330/6aa883b8/attachment.html>


More information about the kde-pim mailing list