add qDebug()

This commit is contained in:
Hamed Masafi 2019-07-20 09:52:25 +04:30
parent 8af5f06727
commit b79f4c88bc
1 changed files with 3 additions and 3 deletions

View File

@ -309,9 +309,9 @@ Q_OUTOFLINE_TEMPLATE RowList<T> Query<T>::toList(int count)
qPrintable(data.table->name()));
shp = QSharedPointer<Table>(table);
}
connect(table, &QObject::destroyed, [](QObject *){
qDebug() << "Destroyed";
const char *className = table->metaObject()->className();
connect(table, &QObject::destroyed, [className](QObject *){
qDebug() << "Destroyed " << className;
});
QList<FieldModel*> childFields = data.table->fields();