summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/impl/doc/doc_lister.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp b/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
index 8066472..d4d1831 100644
--- a/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
+++ b/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
@@ -41,17 +41,17 @@ QString Doc_DirLister::defaultPath()const {
41 41
42QString Doc_DirLister::setStartPath(const QString&) { 42QString Doc_DirLister::setStartPath(const QString&) {
43 static const QString Mtype_str("image/jpeg;image/gif;image/bmp;image/png"); 43 static const QString Mtype_str("image/jpeg;image/gif;image/bmp;image/png");
44 if (m_namemap.isEmpty()) { 44 if (m_namemap.isEmpty()) {
45 DocLnkSet ds; 45 DocLnkSet ds;
46 Global::findDocuments(&ds,Mtype_str); 46 Global::findDocuments(&ds,Mtype_str);
47 QListIterator<DocLnk> dit(ds.children()); 47 QListIterator<DocLnk> dit(ds.children());
48 for( ; dit.current(); ++dit) { 48 for( ; dit.current(); ++dit) {
49 if (! (*dit)->isValid()) continue; 49// if (! (*dit)->isValid()) continue;
50 m_namemap[(*dit)->name()]=(*dit)->file(); 50 m_namemap[(*dit)->name()]=(*dit)->file();
51 m_filemap[(*dit)->file()]=(*dit)->name(); 51 m_filemap[(*dit)->file()]=(*dit)->name();
52 } 52 }
53 } 53 }
54 return QString::null; 54 return QString::null;
55} 55}
56 56
57QString Doc_DirLister::currentPath()const { 57QString Doc_DirLister::currentPath()const {