From 05546a5d534654bf02c70bf79b62062cd390ab1b Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Thu, 17 Jan 2013 18:00:37 +0100 Subject: [PATCH] Compare History items case insensitively. --- history.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.hh b/history.hh index e3acda7c..75df2750 100644 --- a/history.hh +++ b/history.hh @@ -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 ); }