[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: patch : crash on "close all views"
From: Ariya Hidayat <ariya () kde ! org>
Date: 2003-05-17 9:01:08
[Download RAW message or body]
The following patch will fix bug #57778 (crash on close all views).
Please review.
Index: koMainWindow.cc
===================================================================
RCS file: /home/kde/koffice/lib/kofficecore/koMainWindow.cc,v
retrieving revision 1.299
diff -r1.299 koMainWindow.cc
1286,1287d1285
< hide();
< d->m_rootDoc->removeShell(this);
1289a1288,1289
> hide();
> d->m_rootDoc->removeShell(this);
1294a1295
> d->m_rootDoc=0;
1299,1300c1300
< delete d->m_rootDoc;
< d->m_rootDoc=0;
---
> setRootDocument( 0L );
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic