summaryrefslogtreecommitdiffstats
path: root/src/reflist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist.h')
-rw-r--r--src/reflist.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/reflist.h b/src/reflist.h
index 3124582..2fb25cf 100644
--- a/src/reflist.h
+++ b/src/reflist.h
@@ -44,10 +44,9 @@ class SortedRefItems : public SDict<RefItem>
public:
SortedRefItems(int size=17) : SDict<RefItem>(size) {}
virtual ~SortedRefItems() {}
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ private:
+ int compareValues(const RefItem *r1,const RefItem *r2) const
{
- RefItem *r1 = (RefItem*)item1;
- RefItem *r2 = (RefItem*)item2;
return qstricmp(r1->title,r2->title);
}
};