]> git.pld-linux.org Git - packages/psi-plus.git/blame - psi-plus-empty_group-fix.patch
- no longer used
[packages/psi-plus.git] / psi-plus-empty_group-fix.patch
CommitLineData
71030823 1--- psi-0.11/iris/src/xmpp/xmpp-im/types.cpp.orig 2007-10-14 16:00:50.000000000 +0200
2+++ psi-0.11/iris/src/xmpp/xmpp-im/types.cpp 2008-01-25 23:56:27.523786094 +0100
3@@ -2618,7 +2618,7 @@
4
5 bool RosterItem::addGroup(const QString &g)
6 {
7- if(inGroup(g))
8+ if(inGroup(g) || g.isEmpty())
9 return false;
10
11 v_groups += g;
12@@ -2667,8 +2667,10 @@
13 QDomElement i = n.toElement();
14 if(i.isNull())
15 continue;
16- if(i.tagName() == "group")
17+ if(i.tagName() == "group") {
18 g += tagContent(i);
19+ g.removeAll(QString(""));
20+ }
21 }
22 QString a = item.attribute("ask");
23
This page took 0.063908 seconds and 4 git commands to generate.