forked from lubuwest/Friendiqa
v.0.3.3
This commit is contained in:
parent
d1acb9339a
commit
09e8b8d097
49 changed files with 1720 additions and 825 deletions
|
@ -93,7 +93,11 @@ Item {
|
|||
groupmembers=JSON.parse(groups);
|
||||
for (var user in groupmembers){
|
||||
Helperjs.readData(root.db,"contacts",root.login.username,function(userdata){
|
||||
if (userdata[0]){groupModel.append({"groupmember":userdata[0]})}
|
||||
if (userdata[0]){
|
||||
userdata[0].name=Qt.atob(userdata[0].name);
|
||||
userdata[0].description=Qt.atob(userdata[0].description)
|
||||
groupModel.append({"groupmember":userdata[0]
|
||||
})}
|
||||
},"id",groupmembers[user])
|
||||
} //catch(e){}
|
||||
},"groupname",group.groupname);
|
||||
|
@ -132,13 +136,15 @@ Item {
|
|||
anchors.left: memberImage.right
|
||||
anchors.margins: 1*mm
|
||||
width:parent.width-1
|
||||
text:Qt.atob(groupmember.name)
|
||||
text:groupmember.name
|
||||
}
|
||||
MouseArea{
|
||||
anchors.fill: parent
|
||||
onClicked:{
|
||||
root.currentIndex=1;
|
||||
friendstab.active=true;
|
||||
// root.currentIndex=1;
|
||||
// friendstab.active=true;
|
||||
// root.contactdetailsSignal(groupmember)
|
||||
root.currentIndex=0;
|
||||
root.contactdetailsSignal(groupmember)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue