[Kde-pim] Review Request: akonadi: make itemsFromModel() support treemodels

Sergio Martins iamsergio at gmail.com
Thu Jan 28 02:36:55 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2747/
-----------------------------------------------------------

Review request for KDE PIM, Frank Osterfeld and Sebastian Sauer.


Summary
-------

korganizer is crashing when adding and editing incidences, this happens because currently itemsFromModel() (utils.cpp) only supports models were items don't have parents.

I've added support for parents and now QAbstractItemModel::rowsInserted(QModelIndex parent,int, start int end) signal is properly interpreted.


This addresses bug 223729.
    https://bugs.kde.org/show_bug.cgi?id=223729


Diffs
-----

  trunk/KDE/kdepim/akonadi/kcal/calendar.cpp 1080580 
  trunk/KDE/kdepim/akonadi/kcal/utils.h 1080580 
  trunk/KDE/kdepim/akonadi/kcal/utils.cpp 1080580 
  trunk/KDE/kdepim/korganizer/interfaces/korganizer/baseview.cpp 1081262 

Diff: http://reviewboard.kde.org/r/2747/diff


Testing
-------


Thanks,

Sergio

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list