summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/impl/dir/dir_lister.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp b/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp
index 0a5cff4..16758d7 100644
--- a/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp
+++ b/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp
@@ -65,12 +65,13 @@ QStringList Dir_DirLister::files()const {
for (QStringList::Iterator it = list.begin(); it != list.end();++it ) {
QFileInfo inf( *it );
QString ext = inf.extension(false).lower();
if( ext == QString::fromLatin1("jpg") ||
ext == QString::fromLatin1("jpeg" ) ||
ext == QString::fromLatin1("png" ) ||
+ ext == QString::fromLatin1("bmp" ) ||
ext == QString::fromLatin1("gif" ) )
out.append( *it );
}
return out;
}
}