summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r--src/ftvhelp.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp
index 11d3b1d..1a30e71 100644
--- a/src/ftvhelp.cpp
+++ b/src/ftvhelp.cpp
@@ -1023,15 +1023,16 @@ struct NavIndexEntry
QCString path;
};
-class NavIndexEntryList : public QList<NavIndexEntry>
+class NavIndexEntryList : public QList<NavIndexEntry>
{
public:
NavIndexEntryList() : QList<NavIndexEntry>() { setAutoDelete(TRUE); }
~NavIndexEntryList() {}
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ private:
+ int compareValues(const NavIndexEntry *item1,const NavIndexEntry *item2) const
{
// sort list based on url
- return qstrcmp(((NavIndexEntry*)item1)->url,((NavIndexEntry*)item2)->url);
+ return qstrcmp(item1->url,item2->url);
}
};