Compare History items case insensitively.

This commit is contained in:
Tvangeste 2013-01-17 18:00:37 +01:00
parent b4268d0f2a
commit 05546a5d53

View file

@ -33,7 +33,7 @@ public:
{}
bool operator == ( Item const & other ) const
{ return word == other.word && groupId == other.groupId; }
{ return QString::compare( word, other.word, Qt::CaseInsensitive) == 0 && groupId == other.groupId; }
bool operator != ( Item const & other ) const
{ return ! operator == ( other ); }