summaryrefslogtreecommitdiff
authoralwin <alwin>2004-11-11 23:08:31 (UTC)
committer alwin <alwin>2004-11-11 23:08:31 (UTC)
commitee67d61c20b6840f3fb353e314d16a90c0438e7c (patch) (unidiff)
tree0b49d946120d3bf93c1a5158f5635c496a43ce8c
parentb81a7aeacda23d4407cd88ee017b67ea48344a94 (diff)
downloadopie-ee67d61c20b6840f3fb353e314d16a90c0438e7c.zip
opie-ee67d61c20b6840f3fb353e314d16a90c0438e7c.tar.gz
opie-ee67d61c20b6840f3fb353e314d16a90c0438e7c.tar.bz2
removed some useless code
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
@@ -63,7 +63,6 @@ QString Doc_DirLister::setStartPath(const QString&) {
63 } 63 }
64 QListIterator<DocLnk> dit(m_ds.children()); 64 QListIterator<DocLnk> dit(m_ds.children());
65 for( ; dit.current(); ++dit) { 65 for( ; dit.current(); ++dit) {
66// if (! (*dit)->isValid()) continue;
67 if (!matchCat((*dit))) continue; 66 if (!matchCat((*dit))) continue;
68 m_namemap[(*dit)->name()]=(*dit)->file(); 67 m_namemap[(*dit)->name()]=(*dit)->file();
69 m_filemap[(*dit)->file()]=(*dit)->name(); 68 m_filemap[(*dit)->file()]=(*dit)->name();
@@ -182,8 +181,6 @@ QWidget* Doc_DirLister::widget(QWidget*parent)
182 181
183void Doc_DirLister::showCategory(int which) 182void Doc_DirLister::showCategory(int which)
184{ 183{
185 Categories cat;
186 cat.load( categoryFileName() );
187 m_catFilter = which==-2?0:which; 184 m_catFilter = which==-2?0:which;
188 m_namemap.clear(); 185 m_namemap.clear();
189 setStartPath(""); 186 setStartPath("");