Re: [Interest] Dangling QSqlTableModel Pointer

2016-03-11 Thread Scott Aron Bloom
[mailto:interest-bounces+scott=towel42@qt-project.org] On Behalf Of Hao Hu Sent: Friday, March 11, 2016 11:16 AM To: interest@qt-project.org Subject: [Interest] Dangling QSqlTableModel Pointer Hi All, When using QSqlTableModel and the QTableView, the API provided (by the documentation<h

[Interest] Dangling QSqlTableModel Pointer

2016-03-11 Thread Hao Hu
Hi All, When using QSqlTableModel and the QTableView, the API provided (by the documentation ) is: QSqlTableModel *model = new QSqlTableModel