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

List:       kde-commits
Subject:    Re: KDE/kdelibs/kdeui/dialogs
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2006-09-13 7:57:28
Message-ID: 200609130957.28934.Woebbeking () onlinehome ! de
[Download RAW message or body]

On Wednesday 13 September 2006 09:33, Stephan Kulow wrote:
> Am Mittwoch, 13. September 2006 00:02 schrieb André Wöbbeking:
> > On Tuesday 12 September 2006 23:43, David Faure wrote:
> > > SVN commit 583653 by dfaure:
> > >
> > > Nice bug in the example code!
> > >
> > >
> > >  M  +1 -1      kdialog.h
> > >
> > >
> > > --- trunk/KDE/kdelibs/kdeui/dialogs/kdialog.h #583652:583653
> > > @@ -103,7 +103,7 @@
> > >   *   dialog->setCaption( "My title" );
> > >   *   dialog->setButtons( KDialog::Ok | KDialog::Cancel |
> > > KDialog::Apply ); *
> > > - *   FooWidget widget = new FooWidget( dialog );
> > > + *   FooWidget *widget = new FooWidget( dialog );
> >
> > I know why I like explicit :-)
>
> Because it makes example code in comments magically correct?

No, but if someone take this example it wouldn't compile (not sure about 
this speciall example, I'm too lazy to look it up). So it compiles and 
strange things will happen.

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

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