add/edit/delete group (qt4-reimplementation)

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@11 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
tariq
2006-01-20 18:30:48 +00:00
parent 8642ccfe94
commit b2ae2d1d17
5 changed files with 53 additions and 5 deletions

View File

@@ -104,6 +104,8 @@ void KeepassGroupView::mouseMoveEvent(QMouseEvent *event){
}
void KeepassGroupView::updateItems(){
clear();
Items.clear();
for(GroupItr i=db->Groups.begin();i!=db->Groups.end();i++){
if((*i).Level==0){
if(Items.size()) Items.push_back(new GroupViewItem(this,getLastSameLevelItem(0)));