This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/103313/ |
kdeui/itemviews/kcategorizedview.cpp (Diff revision 2) | |||
---|---|---|---|
void KCategorizedView::rowsAboutToBeRemoved(const QModelIndex &parent, |
|||
1376 | return; |
I would say 'no halfway exit always' especially in long functions. Midfunc exit is too easily overlooked. That said, if most of processing is done in else loop if you elide the midfunc exit then the function is even more a refactoring candidate. If readability suffers... yet another reason for refactoring.
- Ruurd
On December 4th, 2011, 8:42 a.m., Jaime Torres Amate wrote:
Review request for kdelibs and Rafael Fernández López.
By Jaime Torres Amate.
Updated Dec. 4, 2011, 8:42 a.m. Description
Testing
Diffs
|