From e3443eef4d49c7e91369790c29dd3b15b5dba854 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 12 Apr 2002 13:24:38 +0000 Subject: fix the crash --- diff --git a/libopie/TODO b/libopie/TODO index a4e1ada..d49910c 100644 --- a/libopie/TODO +++ b/libopie/TODO @@ -6,6 +6,7 @@ - Attendees - OFileSelector + - fix the weird view change bug delete m_pseudoLayout crash - DocLnk when not in Document Mode ( and vice versa ) - MultipleDocuments - TreeView have a own OFileSelectorItem for this diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 7451c1b..968541a 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -596,8 +596,8 @@ void OFileSelector::slotViewCheck(const QString &view ){ delete m_location; delete m_up; delete m_pseudo; - if(m_pseudoLayout!=0 ) - delete m_pseudoLayout; + //if(m_pseudoLayout!=0 ) +// delete m_pseudoLayout; } m_View = 0; m_boxToolbar = 0; @@ -675,9 +675,9 @@ void OFileSelector::initializeListView() delete m_docButton; delete m_location; delete m_up; - delete m_pseudo; - if(m_pseudoLayout!=0 ) // why did you overload malloc - delete m_pseudoLayout; + //delete m_pseudo; + //if(m_pseudoLayout!=0 ) // why did you overload malloc + //delete m_pseudoLayout; m_boxToolbar = 0; m_homeButton = 0; m_docButton = 0; -- cgit v0.9.0.2