[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KInstance and KAboutData
From: Stephan Kulow <coolo () kde ! org>
Date: 2000-11-01 11:05:34
[Download RAW message or body]
David Faure wrote:
>
> On Sun, Oct 29, 2000 at 06:44:59PM +0100, Stephan Kulow wrote:
> > Hi!
> >
> > KInstance's default constructor takes a KAboutData pointer
> > that defaults to 0. But this constructor crashes when this
> > default argument is given. So what's the point in having it?
>
> You really never wrote any code saying KInstance("blah") ?
> Look in the tests directory, under kdelibs, or in kioslaves.
> The warning is/was for porting purposes (to get app writers to provide
> an aboutdata), but should be removed, because it IS valid
> to have an instance without aboutdata, as long as you don't have
> an Help menu.
I think you're missing my point. KInstance("blah") is another
constructor. But "KInstance a;" is illegal KDE code.
Greetings, Stephan
--
Frauen und Maenner passen vielleicht nicht zusammen, aber meine
allerschoensten Schrammen habe ich mir bei diesem Duell geholt.
-- Reinhard Mey
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic