Whenever the config->get(Co... Is called with that ConfigKey it returns "" regardless of how many times you set it.
I'm guessing if the initial value is "" or null or whatever, the config->set() fails to associate the value... I can't say I can really follow what configObject->set, get are doing when they evaluate it... If I'm not out to lunch, it is trying to match the valueType->value to an existing one and update it, not sure how that is going to work for configValues that set there values to "Yes" vs. ""... Whole thing looks a bit dodgey to me... I guess I'll have to slap a debugger on it and see if I can figure out what is going on... -G On 21/01/2009, Sean M. Pappalardo <[email protected]> wrote: > > > Garth Dahlstrom wrote: >> Why is it that AgreedToUserExperienceProgram which was set in the first >> line, is unset again in the second? Is there some kind of flush >> operation or signal that needs to be called to make this work?!? > > If you look at your config file, what does it show there? > Might this be related to the other config file weirdness we've been > seeing when you run Mixxx with no config file? (Duplicate sections, > blank values.) > > Sean > > <<--------------------------------------------------------------------------------->> > This E-Mail message has been scanned for viruses > and cleared by >>SmartMail<< from Smarter Technology, Inc. > <<--------------------------------------------------------------------------------->> > -- __ --- == __/ t.O ==-- http://stacktrace.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
