[Digikam-devel] branches/extragear/kde3/graphics/digikam/digikam
Gilles Caulier
caulier.gilles at gmail.com
Sun Nov 25 21:12:13 GMT 2007
SVN commit 741538 by cgilles:
digiKam from KDE3 branch : use insensitive case with icon item text filter
CCMAIL: digikam-devel at kde.org
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;
}
}
More information about the Digikam-devel
mailing list