[Kde-pim] Review Request: Remove blank lines in address formatting (e.g. KAddressBook display)

Jonathan Marten jjm at keelhaul.me.uk
Sat Nov 20 17:45:18 GMT 2010


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

Review request for KDE PIM.


Summary
-------

If a address entered into KAddressBook contains null fields or extra newlines after the address, blank lines are
displayed in the contact details view.  This looks unattractive as well as wasting space.

The change here (to the Akonadi contact formatter) compresses multiple newlines into a single line break.

Note: If KAddressBook is built with Grantlee support then it may be necessary to make a similar change to kdepim/kaddressbook/grantleecontactformatter.cpp (function addressHash).  Have not been able to check/test this.


Diffs
-----

  /trunk/KDE/kdepimlibs/akonadi/contact/standardcontactformatter.cpp 1198718 

Diff: http://svn.reviewboard.kde.org/r/5912/diff


Testing
-------

Built kdepimlibs with these changes, verified correct display with KAddressBook.


Thanks,

Jonathan

_______________________________________________
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