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 | |||
@@ -3,12 +3,13 @@ | |||
3 | - tododb | 3 | - tododb |
4 | - set Alarms | 4 | - set Alarms |
5 | - multiple categories | 5 | - multiple categories |
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 |
12 | - IconView add a QIconView to the widgetstack | 13 | - IconView add a QIconView to the widgetstack |
13 | - Move OFileSelectorItem to it's own files | 14 | - Move OFileSelectorItem to it's own files |
14 | - add functions to access the member variables | 15 | - add functions to access the member variables |
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 7451c1b..968541a 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc | |||
@@ -593,14 +593,14 @@ void OFileSelector::slotViewCheck(const QString &view ){ | |||
593 | delete m_boxToolbar; | 593 | delete m_boxToolbar; |
594 | delete m_homeButton; | 594 | delete m_homeButton; |
595 | delete m_docButton; | 595 | delete m_docButton; |
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; |
604 | m_homeButton = 0; | 604 | m_homeButton = 0; |
605 | m_docButton = 0; | 605 | m_docButton = 0; |
606 | m_location = 0; | 606 | m_location = 0; |
@@ -672,15 +672,15 @@ void OFileSelector::initializeListView() | |||
672 | m_View = 0; | 672 | m_View = 0; |
673 | delete m_boxToolbar; | 673 | delete m_boxToolbar; |
674 | delete m_homeButton; | 674 | delete m_homeButton; |
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; |
684 | m_location = 0; | 684 | m_location = 0; |
685 | m_up = 0; | 685 | m_up = 0; |
686 | m_pseudo = 0; | 686 | m_pseudo = 0; |