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

List:       kde-devel
Subject:    Re: KConfig
From:       pbrown () redhat ! com
Date:       1999-12-03 15:17:30
[Download RAW message or body]

On Fri, 3 Dec 1999, Hans Petter Bieker wrote:

> config->readEntry("Bla", default) used to return default if the config
> files contained the folowing:
> Bla=
> Now it returns "" because QString::right(0) was changed to return ""
> instead of QString::null. Some code depends on the old behaviour (like
> KLocale and libkcm_locale). The patch below changes KConfig to return
> defualt instead of "". May I commit it?

No.  Some programs also depend on empty return values believe it or not.

The real fix is in Qt.

---
  Preston Brown                                    Systems Engineer
  pbrown@redhat.com                                Red Hat, Inc. 

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

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