Added "Group full path" column

This commit is contained in:
xavives 2024-01-19 15:41:36 +01:00
parent 9e119230d4
commit 1391e347bb
2 changed files with 5 additions and 2 deletions

View File

@ -116,7 +116,7 @@ int EntryModel::columnCount(const QModelIndex& parent) const
return 0;
}
return 16;
return 17;
}
QVariant EntryModel::data(const QModelIndex& index, int role) const
@ -434,6 +434,8 @@ QVariant EntryModel::headerData(int section, Qt::Orientation orientation, int ro
return tr("Has TOTP");
case Color:
return tr("Background Color");
case ParentGroupPath:
return tr("Group full path");
}
}

View File

@ -49,7 +49,8 @@ public:
Totp = 12,
Size = 13,
PasswordStrength = 14,
Color = 15
Color = 15,
ParentGroupPath = 16
};
explicit EntryModel(QObject* parent = nullptr);