summaryrefslogtreecommitdiff
Unidiff
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
@@ -63,16 +63,17 @@ QStringList Dir_DirLister::files()const {
63 QStringList out; 63 QStringList out;
64 QStringList list = m_currentDir.entryList( QDir::Files | QDir::Readable ); 64 QStringList list = m_currentDir.entryList( QDir::Files | QDir::Readable );
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}
77 78
78void Dir_DirLister::deleteImage( const QString& fl) { 79void Dir_DirLister::deleteImage( const QString& fl) {