minor
This commit is contained in:
@@ -45,13 +45,14 @@ LicenseModel::~LicenseModel()
|
||||
|
||||
int LicenseModel::rowCount(const QModelIndex &parent) const
|
||||
{
|
||||
return 0;
|
||||
return m_data.size();
|
||||
}
|
||||
|
||||
int LicenseModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
return COLUMN_COUNT;
|
||||
}
|
||||
|
||||
QVariant LicenseModel::data(const QModelIndex &index, int role) const
|
||||
{
|
||||
switch (role)
|
||||
@@ -147,3 +148,18 @@ bool LicenseModel::prepareDatabase()
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void LicenseModel::addClient(const LicenseItem &item)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void LicenseModel::deleteClient(const LicenseItem &item)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void LicenseModel::editClient(const LicenseItem &item)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user