Skip to content

Commit

Permalink
Remove redundant indexing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
vtronko committed Jul 1, 2016
1 parent 1ce62d7 commit 8d0d6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FilterTableHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ void FilterTableHeader::adjustPositions()
{
// Get the current widget, move it and resize it
QWidget* w = filterWidgets.at(i);
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
w->resize(sectionSize(i), filterWidgets.at(i)->sizeHint().height());
w->move(sectionPosition(i) - offset(), w->sizeHint().height() + 2); // The two adds some extra space between the header label and the input widget
w->resize(sectionSize(i), w->sizeHint().height());
}
}

Expand Down

0 comments on commit 8d0d6ba

Please sign in to comment.