[Kde-pim] Review Request 113890: Improve error handling in maildir by giving back the string error message to the caller
Kevin Krammer
krammer at kde.org
Fri Nov 15 18:07:22 GMT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113890/#review43740
-----------------------------------------------------------
resources/maildir/libmaildir/maildir.h
<http://git.reviewboard.kde.org/r/113890/#comment31418>
Maybe make it optional, i.e. QString* error = 0, like the "ok" argument in QString::toInt() and similar functions?
resources/maildir/libmaildir/maildir.cpp
<http://git.reviewboard.kde.org/r/113890/#comment31419>
style: spaces in i18n() and arg()
resources/maildir/libmaildir/maildir.cpp
<http://git.reviewboard.kde.org/r/113890/#comment31420>
style spaces in parentheses
resources/maildir/libmaildir/maildir.cpp
<http://git.reviewboard.kde.org/r/113890/#comment31421>
you changed the positioning of & in the header but not here
resources/maildir/libmaildir/maildir.cpp
<http://git.reviewboard.kde.org/r/113890/#comment31422>
spaces
resources/mixedmaildir/mixedmaildirstore.cpp
<http://git.reviewboard.kde.org/r/113890/#comment31423>
!result.isEmpty() is the success case, right?
- Kevin Krammer
On Nov. 15, 2013, 5:56 p.m., Andras Mantia wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113890/
> -----------------------------------------------------------
>
> (Updated Nov. 15, 2013, 5:56 p.m.)
>
>
> Review request for KDEPIM and Kevin Krammer.
>
>
> Repository: kdepim-runtime
>
>
> Description
> -------
>
> Improve error handling in maildir by giving back the string error message to the caller.
>
>
> Diffs
> -----
>
> resources/maildir/libmaildir/maildir.h 506e4c7
> resources/maildir/libmaildir/maildir.cpp 4a932db
> resources/maildir/libmaildir/tests/testmaildir.cpp ed312ea
> resources/maildir/maildirresource.cpp 932f7d4
> resources/mixedmaildir/mixedmaildirstore.cpp 922071c
> resources/mixedmaildir/tests/itemfetchtest.cpp 13ac8fa
>
> Diff: http://git.reviewboard.kde.org/r/113890/diff/
>
>
> Testing
> -------
>
> make test passes.
>
>
> Thanks,
>
> Andras Mantia
>
>
_______________________________________________
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