Commit 7cf50572 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Case insensitive comparison in style-delegate

parent 5b5fbf9b
......@@ -100,7 +100,7 @@ public:
int j = 0;
for (int i = 0; i < str.size() && j < m_filterString.size(); ++i) {
if (str.at(i) == m_filterString.at(j)) {
if (str.at(i).toLower() == m_filterString.at(j).toLower()) {
str.replace(i, 1, QStringLiteral("<b>") + str.at(i) + QStringLiteral("</b>"));
i += 7;
++j;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment