Changeset 6152 for trunk/qt4-gui/src/views
- Timestamp:
- 04/17/08 02:19:44 (8 months ago)
- Location:
- trunk/qt4-gui/src/views
- Files:
-
- 3 modified
-
userview.cpp (modified) (1 diff)
-
userview.h (modified) (2 diffs)
-
userviewbase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/views/userview.cpp
r6151 r6152 61 61 connect(Config::ContactList::instance(), SIGNAL(currentListChanged()), SLOT(updateRootIndex())); 62 62 connect(Config::ContactList::instance(), SIGNAL(listSortingChanged()), SLOT(resort())); 63 connect(myContactList, SIGNAL(modelReset()), SLOT(expandGroups())); 63 64 } 64 65 -
trunk/qt4-gui/src/views/userview.h
r6151 r6152 60 60 61 61 /** 62 * Update expanded status of all groups (only relevant for threaded view mode)63 */64 void expandGroups();65 66 /**67 62 * Set skin colors 68 63 * … … 76 71 */ 77 72 void updateRootIndex(); 73 74 /** 75 * Update expanded status of all groups (only relevant for threaded view mode) 76 */ 77 void expandGroups(); 78 78 79 79 protected slots: -
trunk/qt4-gui/src/views/userviewbase.cpp
r6151 r6152 278 278 { 279 279 gUserManager.AddUserToGroup(dropId.toLatin1(), dropPpid, gid); 280 gMainWindow->updateUserWin();280 myContactList->updateUser(dropId.toLatin1(), dropPpid); 281 281 } 282 282 }
