From 578cc81bc489015320351efd4fabcbed3355ac23 Mon Sep 17 00:00:00 2001 From: skyhusker Date: Sun, 06 Mar 2005 19:31:56 +0000 Subject: Fix bug 1600: Removing . from directory listing --- diff --git a/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp b/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp index ff33cf2..5706598 100644 --- a/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp +++ b/noncore/graphics/opie-eye/impl/dir/dir_lister.cpp @@ -48,7 +48,10 @@ QString Dir_DirLister::currentPath()const { QStringList Dir_DirLister::folders()const { - return m_currentDir.entryList( QDir::Dirs ); + QStringList dirs = m_currentDir.entryList( QDir::Dirs ); + dirs.remove("."); + + return dirs; } QStringList Dir_DirLister::recFiles(const QString&aPath,int currentDepth)const -- cgit v0.9.0.2