summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/impl/doc/doc_lister.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp b/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
index e43baed..f5c711a 100644
--- a/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
+++ b/noncore/graphics/opie-eye/impl/doc/doc_lister.cpp
@@ -60,13 +60,12 @@ QString Doc_DirLister::setStartPath(const QString&) {
if (!m_docreads) {
Global::findDocuments(&m_ds,Mtype_str);
m_docreads = true;
}
QListIterator<DocLnk> dit(m_ds.children());
for( ; dit.current(); ++dit) {
-// if (! (*dit)->isValid()) continue;
if (!matchCat((*dit))) continue;
m_namemap[(*dit)->name()]=(*dit)->file();
m_filemap[(*dit)->file()]=(*dit)->name();
}
}
return QString::null;
@@ -179,13 +178,11 @@ QWidget* Doc_DirLister::widget(QWidget*parent)
catmb->setCurrentCategory(-2);
return catmb;
}
void Doc_DirLister::showCategory(int which)
{
- Categories cat;
- cat.load( categoryFileName() );
m_catFilter = which==-2?0:which;
m_namemap.clear();
setStartPath("");
emit sig_reloadDir();
}