Build system changed to Cmake, ORM changed to QxORM, Qt6 compatibility.
This commit is contained in:
@@ -35,7 +35,7 @@ QSharedPointer<QObject> CsvImporter::nextRecord()
|
||||
|
||||
QObject *entity = m_metaObject->newInstance();
|
||||
|
||||
if (entity == NULL || m_currentRec > recordCount())
|
||||
if (entity == nullptr || m_currentRec > recordCount())
|
||||
{
|
||||
++m_currentRec;
|
||||
return QSharedPointer<QObject>();
|
||||
|
||||
Reference in New Issue
Block a user