projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21e8d0
)
Integrated infotab to listviewscreen.
author
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Thu, 29 Apr 2010 12:04:29 +0000
(15:04 +0300)
committer
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Thu, 29 Apr 2010 12:04:29 +0000
(15:04 +0300)
src/ui/listviewscreen.cpp
patch
|
blob
|
history
diff --git
a/src/ui/listviewscreen.cpp
b/src/ui/listviewscreen.cpp
index
0ae12fb
..
738a5df
100644
(file)
--- a/
src/ui/listviewscreen.cpp
+++ b/
src/ui/listviewscreen.cpp
@@
-273,8
+273,13
@@
void ListViewScreen::userDataChanged(User *user, QList<User *> &friends)
{
qDebug() << __PRETTY_FUNCTION__;
- m_friendListView->clear();
+ m_personalInfo->setUserName(user->name());
+ m_personalInfo->setAvatar(user->profileImage());
+ m_personalInfo->setMessageText(user->note());
+ m_personalInfo->setAddress(user->address());
+ m_personalInfo->setTime(user->timestamp());
+ m_friendListView->clear();
foreach (User *user, friends) {
FriendListItem *item = new FriendListItem(m_friendListView);