Avoid memory leak in tst_qquicklistview
Change-Id: I74733325cdd81aa304c2e55acb257b1dbdb1300d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
parent
8cd7aabfb2
commit
7c60fc811e
|
@ -72,6 +72,7 @@ class tst_QQuickListView : public QQmlDataTest
|
|||
Q_OBJECT
|
||||
public:
|
||||
tst_QQuickListView();
|
||||
~tst_QQuickListView() { delete touchDevice; }
|
||||
|
||||
private slots:
|
||||
// WARNING: please add new tests to tst_qquicklistview2; this file is too slow to work with.
|
||||
|
|
Loading…
Reference in New Issue