[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koffice/lib deprecated fixes
From: Brad Hards <bhards () bigpond ! net ! au>
Date: 2004-06-10 12:35:34
Message-ID: 200406102235.40472.bhards () bigpond ! net ! au
[Download RAW message or body]
On Thu, 10 Jun 2004 21:00 pm, David Faure wrote:
> On Thursday 10 June 2004 12:39, Brad Hards wrote:
> > + bool setKeyAndDownloadPicture(const KURL& url, QWidget *window = 0);
>
> Well that doesn't help, it only hides the warning.
For unmodified code.
> Everyone calling that method will still pass 0, which is exactly what the
> netaccess-deprecation warning wants to prevent. You have to make it non 0,
> and fix the code calling it.
OK, so how about not passing a default, and fixing all the places (if any)
where it is called?
Brad
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic