forked from blue/squawk
clearing presences and statuses on disconnect of an account
This commit is contained in:
parent
49aa99d4db
commit
833913cac2
6 changed files with 38 additions and 0 deletions
|
@ -140,3 +140,11 @@ void Models::Item::changed(int col)
|
|||
emit childChanged(this, row(), col);
|
||||
}
|
||||
}
|
||||
|
||||
void Models::Item::toOfflineState()
|
||||
{
|
||||
for (std::deque<Item*>::iterator itr = childItems.begin(), end = childItems.end(); itr != end; ++itr) {
|
||||
Item* it = *itr;
|
||||
it->toOfflineState();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue