Diffstat (limited to 'noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp b/noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp index 97e3dcb..fc502d4 100644 --- a/noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp +++ b/noncore/graphics/opie-eye/impl/dir/dir_dirview.cpp | |||
@@ -9,5 +9,7 @@ Dir_DirView::Dir_DirView( const Config& cfg) | |||
9 | : PDirView(cfg) | 9 | : PDirView(cfg) |
10 | { | 10 | { |
11 | m_cfg = cfg.readBoolEntry( "Dir_Check_All_Files", true); | 11 | m_cfg = cfg.readBoolEntry( "Dir_Check_All_Files", false); |
12 | m_recursive = cfg.readBoolEntry( "Dir_Check_Recursive_Files", false); | ||
13 | m_recursive_depth = cfg.readNumEntry("Dir_Recursive_Files_Depth",10); | ||
12 | m_lister = 0; | 14 | m_lister = 0; |
13 | m_info = 0; | 15 | m_info = 0; |
@@ -18,12 +20,14 @@ Dir_DirView::~Dir_DirView() { | |||
18 | 20 | ||
19 | PInterfaceInfo* Dir_DirView::interfaceInfo()const{ | 21 | PInterfaceInfo* Dir_DirView::interfaceInfo()const{ |
20 | if (!m_info ) | 22 | if (!m_info ) { |
21 | m_info =new DirInterfaceInfo; | 23 | m_info = new DirInterfaceInfo; |
24 | } | ||
22 | return m_info; | 25 | return m_info; |
23 | } | 26 | } |
24 | 27 | ||
25 | PDirLister* Dir_DirView::dirLister()const{ | 28 | PDirLister* Dir_DirView::dirLister()const{ |
26 | if (!m_lister ) | 29 | if (!m_lister ) { |
27 | m_lister = new Dir_DirLister(m_cfg); | 30 | m_lister = new Dir_DirLister(m_cfg,m_recursive,m_recursive_depth); |
31 | } | ||
28 | return m_lister; | 32 | return m_lister; |
29 | } | 33 | } |