[Kde-bindings] Simple KCrash question

Martin Welch martin at welch.eclipse.co.uk
Wed Apr 28 18:14:00 UTC 2004


Solved.

Caused by an automatic variable - KAboutData - going out of scope but
KApplication still had a pointer to it. D'oh!

Right. I can carry on now...

Martin

-----Original Message-----
From: Richard Dale [mailto:Richard_Dale at tipitina.demon.co.uk]
Sent: 27 April 2004 16:00
To: KDE bindings for other programming languages
Subject: Re: [Kde-bindings] Simple KCrash question


On Tuesday 27 April 2004 15:47, Martin Welch wrote:
> I think you have to call the base class implementation:
>
> void CMainWindow::polish()
> {
>         KMainWindow::polish(); <<<<<<<<<<<<<<<<<
>         printf("CMainWindow::polish\n");
>
>         if ( m_LoadCallBack != 0 )
>                 m_LoadCallBack(this);
> }
Yes, you're right - it just gets called once now.

The only thing I can think of is to see if the same code works when it's not
linked against C#.

-- Richard

  def polish()
  	super()
  	puts "In polish()"
	window = KDE::MainWindow.new(self, "temp#")
	window.show
  end
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings




More information about the Kde-bindings mailing list