fix: minor fixes

This commit is contained in:
2026-01-20 09:44:07 +03:00
parent 955395345e
commit f055ad9cc4
4 changed files with 249 additions and 83 deletions

View File

@@ -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