(no subject)

Falk Brettschneider falk.brettschneider at gmx.de
Wed Nov 12 09:03:03 UTC 2003


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 at 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! +++





More information about the KDevelop-devel mailing list