Implemented permission settings for Roles.

This commit is contained in:
2015-12-22 16:08:47 +01:00
parent 09f6266123
commit 94fba56dab
16 changed files with 295 additions and 80 deletions
+2 -1
View File
@@ -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();