diff --git a/src/sqlmodel.cpp b/src/sqlmodel.cpp index fa4b698..ea70760 100644 --- a/src/sqlmodel.cpp +++ b/src/sqlmodel.cpp @@ -40,7 +40,7 @@ void SqlModel::setRenderer(const std::function &render } SqlModel::SqlModel(Database *database, TableSetBase *tableSet, QObject *parent) : - QAbstractTableModel(parent), d(new SqlModelPrivate(this)), _renderer(nullptr) + QAbstractTableModel(parent), _renderer(nullptr), d(new SqlModelPrivate(this)) { d->model = database->model() .tableByClassName(tableSet->childClassName()); @@ -122,7 +122,7 @@ Row SqlModel::at(const int &i) const SqlModelPrivate::SqlModelPrivate(SqlModel *parent) { - + Q_UNUSED(parent) }