forked from blue/squawk
uploading multiple messages fix, some warnings fix
This commit is contained in:
parent
0c33d81c59
commit
fe27955689
14 changed files with 51 additions and 56 deletions
|
@ -518,7 +518,7 @@ void Models::Roster::removeGroup(const QString& account, const QString& name)
|
|||
|
||||
if (toInsert.size() > 0) {
|
||||
Account* acc = accounts.find("account")->second;
|
||||
for (int i = 0; i < toInsert.size(); ++i) {
|
||||
for (std::deque<Contact*>::size_type i = 0; i < toInsert.size(); ++i) {
|
||||
Contact* cont = toInsert[i];
|
||||
acc->appendChild(cont); //TODO optimisation
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue