author | alwin <alwin> | 2004-04-15 14:14:41 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-15 14:14:41 (UTC) |
commit | 9e9a216efd88f47da583c481c874f0426e7d1a1e (patch) (unidiff) | |
tree | 8067e7d2298e897dcb423cf594d4efe88b579cfa | |
parent | b07457bba11c6bc13d35c31c15353350a16ad3a4 (diff) | |
download | opie-9e9a216efd88f47da583c481c874f0426e7d1a1e.zip opie-9e9a216efd88f47da583c481c874f0426e7d1a1e.tar.gz opie-9e9a216efd88f47da583c481c874f0426e7d1a1e.tar.bz2 |
added bmp support
-rw-r--r-- | noncore/graphics/opie-eye/impl/dir/dir_lister.cpp | 1 |
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 { | |||
65 | for (QStringList::Iterator it = list.begin(); it != list.end();++it ) { | 65 | for (QStringList::Iterator it = list.begin(); it != list.end();++it ) { |
66 | QFileInfo inf( *it ); | 66 | QFileInfo inf( *it ); |
67 | QString ext = inf.extension(false).lower(); | 67 | QString ext = inf.extension(false).lower(); |
68 | if( ext == QString::fromLatin1("jpg") || | 68 | if( ext == QString::fromLatin1("jpg") || |
69 | ext == QString::fromLatin1("jpeg" ) || | 69 | ext == QString::fromLatin1("jpeg" ) || |
70 | ext == QString::fromLatin1("png" ) || | 70 | ext == QString::fromLatin1("png" ) || |
71 | ext == QString::fromLatin1("bmp" ) || | ||
71 | ext == QString::fromLatin1("gif" ) ) | 72 | ext == QString::fromLatin1("gif" ) ) |
72 | out.append( *it ); | 73 | out.append( *it ); |
73 | } | 74 | } |
74 | return out; | 75 | return out; |
75 | } | 76 | } |
76 | } | 77 | } |