From kde-core-devel Sat Mar 06 22:58:44 2004 From: Waldo Bastian Date: Sat, 06 Mar 2004 22:58:44 +0000 To: kde-core-devel Subject: Re: parametrized entries in kcfg files are set to immutable... Message-Id: <200403062358.44697.bastian () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=107861362706476 -----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@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@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-----