Formatting

This commit is contained in:
Jonas Kvinge
2021-07-11 09:49:38 +02:00
parent a6742d401c
commit e48b7d83a3
161 changed files with 370 additions and 369 deletions

View File

@@ -149,7 +149,7 @@ void StretchHeaderView::ShowSection(int logical) {
int visible_count = 0;
for (int i = 0 ; i < count() ; ++i) {
if (!isSectionHidden(i))
visible_count ++;
++visible_count;
}
column_widths_[logical] = visible_count == 0 ? 1.0 : 1.0 / visible_count;