From 7ab7f97881d8f826c123050511063a4627901f92 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Tue, 6 Feb 2018 17:59:48 +0100 Subject: QList/Table/TreeWidget: remove vc6 workaround There was a typedef used for comparisons of the items which was for VC6 according to the comment. Replaced the typedef with auto and did a testcompile with MSVC2015 - worked fine. Change-Id: Ibdbc2332d49d2dd533ab35180f49c9dcd143c627 Reviewed-by: Friedemann Kleint --- src/widgets/itemviews/qtablewidget_p.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/widgets/itemviews/qtablewidget_p.h') diff --git a/src/widgets/itemviews/qtablewidget_p.h b/src/widgets/itemviews/qtablewidget_p.h index 6412477be0..74b1f226c1 100644 --- a/src/widgets/itemviews/qtablewidget_p.h +++ b/src/widgets/itemviews/qtablewidget_p.h @@ -62,9 +62,6 @@ QT_REQUIRE_CONFIG(tablewidget); QT_BEGIN_NAMESPACE -// workaround for VC++ 6.0 linker bug -typedef bool(*LessThan)(const QPair&,const QPair&); - class QTableWidgetMimeData : public QMimeData { Q_OBJECT -- cgit v1.2.3