[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    (no subject)
From:       "Falk Brettschneider" <falk.brettschneider () gmx ! de>
Date:       2003-11-12 8:02:16
[Download RAW message or body]

Hey Roberto! This fix was very cool!
To avoid memory and CPU use, I just programmed and debugged my new MDI stuff
with a minimal set of KDevelop plugins. I also disabled the bookmarks
plugin, you know...

Cheers, F@lk

Roberto committed to KDevelop cvs:
> *please* remember to remove the view with KDevMainWindow::removeView()
before
> destroy the widget :)
> 
> this fix the crash in KDevelop/KMDI when reopening a project
> 
> 
>   M +4 -1      bookmarks_part.cpp   1.14
> 
> 
> --- kdevelop/parts/bookmarks/bookmarks_part.cpp  #1.13:1.14
> @@ -80,5 +80,8 @@ BookmarksPart::BookmarksPart(QObject *pa
>  BookmarksPart::~BookmarksPart()
>  {
> +        if( _widget ) {
> +                mainWindow()->removeView( _widget );
>          delete _widget;
> +        }
>          delete _config;
>  }

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic