forked from blue/squawk
debugging account removal
This commit is contained in:
parent
234697050b
commit
b845518ced
6 changed files with 12 additions and 7 deletions
|
@ -132,8 +132,9 @@ void Models::Contact::removePresence(const QString& name)
|
|||
qDebug() << "an attempt to remove non existing presence " << name << " from the contact " << jid << " of account " << getAccountName() << ", skipping";
|
||||
} else {
|
||||
Presence* pr = itr.value();
|
||||
presences.erase(itr);
|
||||
removeChild(pr->row());
|
||||
presences.erase(itr);
|
||||
pr->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue