Skip to content

Commit 8d0d6ba

Browse files
committed
Remove redundant indexing operator
1 parent 1ce62d7 commit 8d0d6ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FilterTableHeader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ void FilterTableHeader::adjustPositions()
7777
{
7878
// Get the current widget, move it and resize it
7979
QWidget* w = filterWidgets.at(i);
80-
w->move(sectionPosition(i) - offset(), filterWidgets.at(i)->sizeHint().height() + 2); // The two adds some extra space between the header label and the input widget
81-
w->resize(sectionSize(i), filterWidgets.at(i)->sizeHint().height());
80+
w->move(sectionPosition(i) - offset(), w->sizeHint().height() + 2); // The two adds some extra space between the header label and the input widget
81+
w->resize(sectionSize(i), w->sizeHint().height());
8282
}
8383
}
8484

0 commit comments

Comments
 (0)