summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-12 13:24:38 (UTC)
committer zecke <zecke>2002-04-12 13:24:38 (UTC)
commite3443eef4d49c7e91369790c29dd3b15b5dba854 (patch) (side-by-side diff)
treeb92f78798a247ecf3eec501c64f5f8c81dc043fe
parent3973cf42c778055ab81a9ee254eaf8829464f936 (diff)
downloadopie-e3443eef4d49c7e91369790c29dd3b15b5dba854.zip
opie-e3443eef4d49c7e91369790c29dd3b15b5dba854.tar.gz
opie-e3443eef4d49c7e91369790c29dd3b15b5dba854.tar.bz2
fix the crash
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/TODO1
-rw-r--r--libopie/ofileselector.cc10
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
@@ -8,2 +8,3 @@
- OFileSelector
+ - fix the weird view change bug delete m_pseudoLayout crash
- DocLnk when not in Document Mode ( and vice versa )
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc
index 7451c1b..968541a 100644
--- a/libopie/ofileselector.cc
+++ b/libopie/ofileselector.cc
@@ -598,4 +598,4 @@ void OFileSelector::slotViewCheck(const QString &view ){
delete m_pseudo;
- if(m_pseudoLayout!=0 )
- delete m_pseudoLayout;
+ //if(m_pseudoLayout!=0 )
+// delete m_pseudoLayout;
}
@@ -677,5 +677,5 @@ void OFileSelector::initializeListView()
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;