parametrized entries in kcfg files are set to immutable...
Waldo Bastian
bastian at kde.org
Sat Mar 6 22:58:44 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat March 6 2004 19:40, Reinhold Kainhofer wrote:
> static
> void setCustom( int i, int v )
> {
> if (!self()->isImmutable( "Custom" ))
> self()->mCustom[i] = v;
> }
>
> The isImmutable always returns true, and the item is not changed! Am I
> doing something wrong, or is this a bug somewhere in kconfigXT or
> kconfigSkeleton?
This is a bug indeed. It should somehow check for
if (!self()->isImmutable( QString("Custom%1").arg(i)))
instead. Might be nasty to fix.
I notice that the labels aren't handled correctly either.
Cheers,
Waldo
- --
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
"IBM may, in any manner it sees fit and without royalty to SCO,
distribute any Licensed IBM Materials contained in the SCO Products"
From: Joint Development Agreement between the SCO, Inc. and
International Business Machines Corporation
http://www.sec.gov/Archives/edgar/data/851560/0000891618-99-000561.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFASlekN4pvrENfboIRAuMYAJ9eL4bGKLfZYJecDFLCqvhPmvqWewCfWSMj
unLukuq+EukPngCihw9qSp4=
=Xs57
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list