Fix ICE on QNX 6.6

qabstractitemmodeltester.cpp:223:31: internal compiler error: in expand_expr_real_1, at expr.c:9170

Change-Id: I098c1bdf706512c91c649205f4675de0ca374227
Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
Sergio Martins 2018-09-22 14:59:14 +01:00 committed by Sérgio Martins
parent 04aeffbe8f
commit 92f42caff1

View File

@ -217,7 +217,7 @@ QAbstractItemModelTester::QAbstractItemModelTester(QAbstractItemModel *model, Fa
Q_D(QAbstractItemModelTester);
const auto &runAllTests = [d] { d->runAllTests(); };
auto runAllTests = [d] { d->runAllTests(); };
connect(model, &QAbstractItemModel::columnsAboutToBeInserted,
this, runAllTests);