Skip to content

Commit 46b2531

Browse files
committed
Fix code style to be consistent with rest of project.
1 parent c626586 commit 46b2531

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

collection.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,11 @@ QJSValue Collection::at(int row) const
120120

121121
void Collection::reSort()
122122
{
123-
if (dynamicSortFilter())
124-
{
123+
if (dynamicSortFilter()) {
125124
// Workaround: If dynamic_sortfilter == true, sort(0) will not (always)
126125
// result in d->sort() being called, but setDynamicSortFilter(true) will.
127126
setDynamicSortFilter(true);
128-
}
129-
else
130-
{
127+
} else {
131128
sort(0);
132129
}
133130
}

0 commit comments

Comments
 (0)