summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index 23d5194..aa0727c 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -54,9 +54,10 @@ class IndexFieldSDict : public SDict<IndexField>
public:
IndexFieldSDict() : SDict<IndexField>(17) {}
~IndexFieldSDict() {}
- int compareItems(QCollection::Item item1, QCollection::Item item2)
+ private:
+ int compareValues(const IndexField *item1, const IndexField *item2) const
{
- return qstricmp(((IndexField *)item1)->name,((IndexField *)item2)->name);
+ return qstricmp(item1->name,item2->name);
}
};