Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.4.2
-
None
-
Chrome / firefox
Description
Using QSettings in c++ with the linked code,
When clicking the switch-me switch, we save the new state.
Note also that we save a empty and not useful array.
When clicking the clear button, we will issue a call to QSettings.clear(). This call will result in a javascript error in the browser.
Using a production app, the application completly crash and we are back to the Qt loader screen with the same issue: "Cannot pass non-string to std::string".
Note that the issue does not happen if you do not create the array in the settings.