summaryrefslogtreecommitdiff
path: root/src/pagedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.h')
-rw-r--r--src/pagedef.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pagedef.h b/src/pagedef.h
index 141c03b..890829e 100644
--- a/src/pagedef.h
+++ b/src/pagedef.h
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2013 by Dimitri van Heesch.
+ * Copyright (C) 1997-2014 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -81,9 +81,10 @@ class PageSDict : public SDict<PageDef>
public:
PageSDict(int size) : SDict<PageDef>(size) {}
virtual ~PageSDict() {}
- int compareItems(QCollection::Item i1,QCollection::Item i2)
+ private:
+ int compareValues(const PageDef *i1,const PageDef *i2) const
{
- return qstricmp(((PageDef *)i1)->name(),((PageDef *)i2)->name());
+ return qstricmp(i1->name(),i2->name());
}
};