[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: locate and default return value
From: Stephan Kulow <coolo () caldera ! de>
Date: 1999-08-02 11:14:45
[Download RAW message or body]
Carsten Pfeiffer wrote:
>
> Hi,
>
> when locate()/findResource() can't find the desired file, it returns
> QString::null - can't we give it an additional parameter to be returned
> then? Just like KConfig does.
>
> We would save the if (bla.isNull()), then.
>
> It can have a default parameter QString::null, so no changes would have to
> be made to existing code.
Sure, if it saves things. But what would be your default? Just an
example
please.
Greetings, Stephan
--
Better give your hours some more life than
your life some more hours. - anonymous
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic