QTableView: remove unused lambda capture
Change-Id: Ifd6994f90d2c4f550d8c1b8443f426006c06af96 Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>bb10
parent
ef0f1429ae
commit
33b1030929
|
|
@ -674,7 +674,7 @@ QRect QTableViewPrivate::intersectedRect(const QRect rect, const QModelIndex &to
|
|||
Q_Q(const QTableView);
|
||||
|
||||
using minMaxPair = std::pair<int, int>;
|
||||
const auto calcMinMax = [q, rect](QHeaderView *hdr, int startIdx, int endIdx, minMaxPair bounds) -> minMaxPair
|
||||
const auto calcMinMax = [q](QHeaderView *hdr, int startIdx, int endIdx, minMaxPair bounds) -> minMaxPair
|
||||
{
|
||||
minMaxPair ret(std::numeric_limits<int>::max(), std::numeric_limits<int>::min());
|
||||
if (hdr->sectionsMoved()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue