Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-17 Thread Andre Poenitz
On Thu, Apr 17, 2008 at 05:21:15PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: >> On Wed, Apr 16, 2008 at 10:58:43PM +0200, Peter Kümmel wrote: >>> Andre Poenitz wrote: Why don't the stored menus simply get a QObject parent? >>> Any idea to remove here shared_ptr? >> Use std::auto_ptr? >

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-17 Thread Andre Poenitz
On Thu, Apr 17, 2008 at 02:35:20PM +0200, Jean-Marc Lasgouttes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > > On Wed, Apr 16, 2008 at 07:43:08PM -, [EMAIL PROTECTED] wrote: > >> Author: kuemmel > >> Date: Wed Apr 16 21:43:06 2008 > >> New Revision: 24299 > >> > >> URL: http://www.ly

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-17 Thread Peter Kümmel
Andre Poenitz wrote: On Wed, Apr 16, 2008 at 10:58:43PM +0200, Peter Kümmel wrote: Andre Poenitz wrote: Why don't the stored menus simply get a QObject parent? Any idea to remove here shared_ptr? Use std::auto_ptr? Andre' OK, or scoped_ptr, but I wonder if there is Qt way. Peter

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-17 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: > On Wed, Apr 16, 2008 at 07:43:08PM -, [EMAIL PROTECTED] wrote: >> Author: kuemmel >> Date: Wed Apr 16 21:43:06 2008 >> New Revision: 24299 >> >> URL: http://www.lyx.org/trac/changeset/24299 >> Log: >> fix some memory leaks [lots of useless lines str

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-16 Thread Andre Poenitz
On Wed, Apr 16, 2008 at 10:58:43PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: >> Why don't the stored menus simply get a QObject parent? > > Any idea to remove here shared_ptr? Use std::auto_ptr? Andre'

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-16 Thread Peter Kümmel
Andre Poenitz wrote: Why don't the stored menus simply get a QObject parent? Any idea to remove here shared_ptr? -- Peter Kümmel Index: frontends/qt4/GuiClipboard.cpp === --- frontends/qt4/GuiClipboard.cpp (revision 24298)

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-16 Thread Peter Kümmel
Andre Poenitz wrote: On Wed, Apr 16, 2008 at 07:43:08PM -, [EMAIL PROTECTED] wrote: Author: kuemmel Date: Wed Apr 16 21:43:06 2008 New Revision: 24299 URL: http://www.lyx.org/trac/changeset/24299 Log: fix some memory leaks Modified: URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/fr

Re: [Cvslog] r24299 - in /lyx-devel/trunk/src: LayoutFile.cpp LayoutFi...

2008-04-16 Thread Andre Poenitz
On Wed, Apr 16, 2008 at 07:43:08PM -, [EMAIL PROTECTED] wrote: > Author: kuemmel > Date: Wed Apr 16 21:43:06 2008 > New Revision: 24299 > > URL: http://www.lyx.org/trac/changeset/24299 > Log: > fix some memory leaks > > Modified: > URL: > http://www.lyx.org/trac/file/lyx-devel/trunk/src/fron