Fix #5334 (Alphabetizing problem)

This commit is contained in:
Kovid Goyal 2010-04-22 04:40:22 -06:00
parent c937c7cdce
commit 0d1031ab54

View File

@ -113,7 +113,7 @@ class NewsItem(NewsTreeItem):
return NONE
def __cmp__(self, other):
return cmp(self.title, getattr(other, 'title', ''))
return cmp(self.title.lower(), getattr(other, 'title', '').lower())
class RecipeModel(QAbstractItemModel, SearchQueryParser):