fix: minor fixes
This commit is contained in:
@@ -35,8 +35,15 @@ public:
|
||||
QString comment;
|
||||
};
|
||||
|
||||
struct Result
|
||||
{
|
||||
QList<LicenseItem> data;
|
||||
QStringList ids;
|
||||
Status status = Status::Ok;
|
||||
QString error;
|
||||
};
|
||||
|
||||
explicit LicenseModel(QObject* parent = nullptr);
|
||||
~LicenseModel();
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
@@ -61,7 +68,6 @@ private:
|
||||
QList<LicenseItem> m_data;
|
||||
Status m_status = Status::None;
|
||||
QStringList m_errors;
|
||||
QSqlDatabase m_db;
|
||||
};
|
||||
|
||||
#endif // LICENSEMANAGER_LICENSEMODEL_H
|
||||
|
||||
Reference in New Issue
Block a user