Implemented permission settings for Roles.
This commit is contained in:
@@ -119,7 +119,8 @@ public:
|
||||
|
||||
void addRow(QSharedPointer<T> data)
|
||||
{
|
||||
beginInsertRows(QModelIndex(), rowCount() - 1, rowCount() - 1);
|
||||
int index = rowCount() == 0 ? 0 : rowCount() - 1;
|
||||
beginInsertRows(QModelIndex(), index, index);
|
||||
insertRow(rowCount());
|
||||
m_list.append(data);
|
||||
endInsertRows();
|
||||
|
||||
Reference in New Issue
Block a user