Skip to content

Commit

Permalink
Fix code style to be consistent with rest of project.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbarron committed Feb 13, 2017
1 parent c626586 commit 46b2531
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,11 @@ QJSValue Collection::at(int row) const

void Collection::reSort()
{
if (dynamicSortFilter())
{
if (dynamicSortFilter()) {
// Workaround: If dynamic_sortfilter == true, sort(0) will not (always)
// result in d->sort() being called, but setDynamicSortFilter(true) will.
setDynamicSortFilter(true);
}
else
{
} else {
sort(0);
}
}
Expand Down

0 comments on commit 46b2531

Please sign in to comment.