In function variantToSetting(), code falls through to next case if qvariant.type() is QVariant::Bool. This does not make sense since the QVariant::Bool case sets QString retval to "true" or "false". Falling through and executing the block under QVariant::String case would overwrite this value. The correct behavior is to break from the switch.
Created attachment 83353 [details] Don't fall through case in variantToSetting() if qvariant.type() is Bool
Comment on attachment 83353 [details] Don't fall through case in variantToSetting() if qvariant.type() is Bool r=me.
Comment on attachment 83353 [details] Don't fall through case in variantToSetting() if qvariant.type() is Bool Clearing flags on attachment: 83353 Committed r79412: <http://trac.webkit.org/changeset/79412>
All reviewed patches have been landed. Closing bug.
Please cherry pick the fixes to Qtwebkit 2.1.x
Revision r79412 cherry-picked into qtwebkit-2.1.x with commit 677fa11 <http://gitorious.org/webkit/qtwebkit/commit/677fa11>