Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
4.8.0
-
None
-
All supported platforms
Description
Hi,
After I call sync(), I get AccessError when I checked the status. Then I fix the permission through program and call sync() again. This synced the settings but the error is not cleared.
From Qsettings.cpp -
"
/* We only set an error if there isn't one set already. This way the user always gets the first error that occurred. We always allow clearing errors.
*/
void QSettingsPrivate::setStatus(QSettings::Status status) const
"/
So a public function in QSettings.cpp will be good to clear the error on demand.
-Karthik