author | alwin <alwin> | 2004-04-22 12:00:15 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-22 12:00:15 (UTC) |
commit | b9509b7b90d7c70c5407f6774512037ff77fcec4 (patch) (side-by-side diff) | |
tree | 9c29d6fb9549aace65c37dd506f5a4d7c52f1fb1 | |
parent | fae4a7b69748c55adebb29deebaaaf40ae2dd887 (diff) | |
download | opie-b9509b7b90d7c70c5407f6774512037ff77fcec4.zip opie-b9509b7b90d7c70c5407f6774512037ff77fcec4.tar.gz opie-b9509b7b90d7c70c5407f6774512037ff77fcec4.tar.bz2 |
ok, checking for valid link isn't a good idea..
-rw-r--r-- | noncore/graphics/opie-eye/impl/doc/doc_lister.cpp | 2 |
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 @@ -25,49 +25,49 @@ Doc_DirLister::Doc_DirLister() connect( master, SIGNAL(sig_start()), this, SIGNAL(sig_start()) ); connect( master, SIGNAL(sig_end()), this, SIGNAL(sig_end()) ); connect( master, SIGNAL(sig_thumbInfo(const QString&, const QString&)), this, SLOT(slotThumbInfo(const QString&, const QString&)) ); connect( master, SIGNAL(sig_fullInfo(const QString&, const QString&)), this, SLOT(slotFullInfo(const QString&, const QString&)) ); connect( master, SIGNAL(sig_thumbNail(const QString&, const QPixmap&)), this, SLOT(slotThumbNail(const QString&, const QPixmap&)) ); m_namemap.clear(); m_filemap.clear(); } QString Doc_DirLister::defaultPath()const { return ""; QPEApplication::documentDir(); } QString Doc_DirLister::setStartPath(const QString&) { static const QString Mtype_str("image/jpeg;image/gif;image/bmp;image/png"); if (m_namemap.isEmpty()) { DocLnkSet ds; Global::findDocuments(&ds,Mtype_str); QListIterator<DocLnk> dit(ds.children()); for( ; dit.current(); ++dit) { - if (! (*dit)->isValid()) continue; +// if (! (*dit)->isValid()) continue; m_namemap[(*dit)->name()]=(*dit)->file(); m_filemap[(*dit)->file()]=(*dit)->name(); } } return QString::null; } QString Doc_DirLister::currentPath()const { return QString::null; } QStringList Doc_DirLister::folders()const { return QStringList(); } QStringList Doc_DirLister::files()const { QStringList out; QMap<QString,QString>::ConstIterator it; for (it = m_namemap.begin();it != m_namemap.end();++it) { out.append(it.key()); } return out; } |