mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Compare History items case insensitively.
This commit is contained in:
parent
b4268d0f2a
commit
05546a5d53
|
@ -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 ); }
|
||||
|
|
Loading…
Reference in a new issue