SVN commit 741538 by cgilles:
digiKam from KDE3 branch : use insensitive case with icon item text filter
CCMAIL:
[hidden email]
M +3 -3 albumlister.cpp
--- branches/extragear/kde3/graphics/digikam/digikam/albumlister.cpp #741537:741538
@@ -414,12 +414,12 @@
bool foundText = false;
if (settings->getIconShowName())
{
- if (info->name().contains(d->textFilter))
+ if (info->name().lower().contains(d->textFilter.lower()))
foundText = true;
}
if (settings->getIconShowComments())
{
- if (info->caption().contains(d->textFilter))
+ if (info->caption().lower().contains(d->textFilter.lower()))
foundText = true;
}
if (settings->getIconShowTags())
@@ -427,7 +427,7 @@
QStringList tags = info->tagNames();
for (QStringList::const_iterator it = tags.begin() ; it != tags.end() ; ++it)
{
- if ((*it).contains(d->textFilter))
+ if ((*it).lower().contains(d->textFilter.lower()))
foundText = true;
}
}
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel