summaryrefslogtreecommitdiffstats
path: root/src/membergroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/membergroup.h')
-rw-r--r--src/membergroup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/membergroup.h b/src/membergroup.h
index c5a2d0c..1c744d3 100644
--- a/src/membergroup.h
+++ b/src/membergroup.h
@@ -125,9 +125,10 @@ class MemberGroupSDict : public SIntDict<MemberGroup>
public:
MemberGroupSDict(int size=17) : SIntDict<MemberGroup>(size) {}
~MemberGroupSDict() {}
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ private:
+ int compareValues(const MemberGroup *item1,const MemberGroup *item2) const
{
- return ((MemberGroup *)item1)->groupId() - ((MemberGroup*)item2)->groupId();
+ return item1->groupId() - item2->groupId();
}
};