forked from blue/squawk
referencing seems to be working now
This commit is contained in:
parent
83a2e6af85
commit
9c855553c5
8 changed files with 77 additions and 41 deletions
|
@ -518,7 +518,6 @@ void Models::Roster::removeGroup(const QString& account, const QString& name)
|
|||
if (cont->referencesCount() == 1) {
|
||||
toInsert.push_back(ref);
|
||||
} else {
|
||||
cont->removeReference(ref);
|
||||
delete ref;
|
||||
}
|
||||
}
|
||||
|
@ -626,7 +625,6 @@ void Models::Roster::removeContact(const QString& account, const QString& jid, c
|
|||
qDebug() << "An attempt to remove last instance of contact" << jid << "from the group" << group << ", contact will be moved to ungrouped contacts of" << account;
|
||||
acc->appendChild(ref);
|
||||
} else {
|
||||
cont->removeReference(ref);
|
||||
delete ref;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue