Diffstat (limited to 'noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp b/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp index 0d6e25f..2cc897b 100644 --- a/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp +++ b/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp | |||
@@ -17,12 +17,19 @@ Doc_DirView::~Doc_DirView() { | |||
17 | 17 | ||
18 | PInterfaceInfo* Doc_DirView::interfaceInfo()const{ | 18 | PInterfaceInfo* Doc_DirView::interfaceInfo()const{ |
19 | if (!m_info ) | 19 | if (!m_info ) |
20 | m_info =new DocInterfaceInfo; | 20 | m_info =new DocInterfaceInfo; |
21 | return m_info; | 21 | return m_info; |
22 | } | 22 | } |
23 | 23 | ||
24 | PDirLister* Doc_DirView::dirLister()const{ | 24 | PDirLister* Doc_DirView::dirLister()const{ |
25 | if (!m_lister ) | 25 | if (!m_lister ) |
26 | m_lister = new Doc_DirLister(); | 26 | m_lister = new Doc_DirLister(); |
27 | return m_lister; | 27 | return m_lister; |
28 | } | 28 | } |
29 | |||
30 | QWidget* Doc_DirView::widget(QWidget*parent) | ||
31 | { | ||
32 | if (!m_lister) | ||
33 | dirLister(); | ||
34 | return m_lister->widget(parent); | ||
35 | } | ||