From 196e250a5061f703cfaf595d9359c49bbdfa0575 Mon Sep 17 00:00:00 2001 From: Flavio Date: Sun, 10 Jun 2012 16:13:37 +0200 Subject: [PATCH] Fixed duplicate suggestions with different case --- src/channelsuggest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channelsuggest.cpp b/src/channelsuggest.cpp index c36afb7..ccec4a0 100644 --- a/src/channelsuggest.cpp +++ b/src/channelsuggest.cpp @@ -35,7 +35,7 @@ void ChannelSuggest::handleNetworkData(QByteArray data) { while ((pos = re.indexIn(html, pos)) != -1) { // qDebug() << re.cap(0) << re.cap(1); QString choice = re.cap(1); - if (!choices.contains(choice)) { + if (!choices.contains(choice, Qt::CaseInsensitive)) { choices << choice; if (choices.size() == 10) break; } -- 2.39.5