author | zecke <zecke> | 2002-04-12 13:24:38 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-12 13:24:38 (UTC) |
commit | e3443eef4d49c7e91369790c29dd3b15b5dba854 (patch) (unidiff) | |
tree | b92f78798a247ecf3eec501c64f5f8c81dc043fe /libopie | |
parent | 3973cf42c778055ab81a9ee254eaf8829464f936 (diff) | |
download | opie-e3443eef4d49c7e91369790c29dd3b15b5dba854.zip opie-e3443eef4d49c7e91369790c29dd3b15b5dba854.tar.gz opie-e3443eef4d49c7e91369790c29dd3b15b5dba854.tar.bz2 |
fix the crash
-rw-r--r-- | libopie/TODO | 1 | ||||
-rw-r--r-- | libopie/ofileselector.cc | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/libopie/TODO b/libopie/TODO index a4e1ada..d49910c 100644 --- a/libopie/TODO +++ b/libopie/TODO | |||
@@ -6,6 +6,7 @@ | |||
6 | - Attendees | 6 | - Attendees |
7 | 7 | ||
8 | - OFileSelector | 8 | - OFileSelector |
9 | - fix the weird view change bug delete m_pseudoLayout crash | ||
9 | - DocLnk when not in Document Mode ( and vice versa ) | 10 | - DocLnk when not in Document Mode ( and vice versa ) |
10 | - MultipleDocuments | 11 | - MultipleDocuments |
11 | - TreeView have a own OFileSelectorItem for this | 12 | - 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 ){ | |||
596 | delete m_location; | 596 | delete m_location; |
597 | delete m_up; | 597 | delete m_up; |
598 | delete m_pseudo; | 598 | delete m_pseudo; |
599 | if(m_pseudoLayout!=0 ) | 599 | //if(m_pseudoLayout!=0 ) |
600 | delete m_pseudoLayout; | 600 | //delete m_pseudoLayout; |
601 | } | 601 | } |
602 | m_View = 0; | 602 | m_View = 0; |
603 | m_boxToolbar = 0; | 603 | m_boxToolbar = 0; |
@@ -675,9 +675,9 @@ void OFileSelector::initializeListView() | |||
675 | delete m_docButton; | 675 | delete m_docButton; |
676 | delete m_location; | 676 | delete m_location; |
677 | delete m_up; | 677 | delete m_up; |
678 | delete m_pseudo; | 678 | //delete m_pseudo; |
679 | if(m_pseudoLayout!=0 ) // why did you overload malloc | 679 | //if(m_pseudoLayout!=0 ) // why did you overload malloc |
680 | delete m_pseudoLayout; | 680 | //delete m_pseudoLayout; |
681 | m_boxToolbar = 0; | 681 | m_boxToolbar = 0; |
682 | m_homeButton = 0; | 682 | m_homeButton = 0; |
683 | m_docButton = 0; | 683 | m_docButton = 0; |