[Interest] Calling QSettings::value() with an empty key name triggers an assert

André Somers andre at familiesomers.nl
Thu Oct 3 08:13:27 CEST 2013


Op 3-10-2013 7:38, Vadim Peretokin schreef:
> He's wanting to *set* the key to the default value however, not access 
> it. Unless QSettings::value(".") or QSettings::value("Default") will 
> set it to the default value as you suggest?
No, QSettings::value(".") is a getter. But QSettings::setValue(".", 
"Some value") is a setter.

André

-- 
You like Qt?
I am looking for collegues to join me at i-Optics!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131003/8eee52b5/attachment.html>


More information about the Interest mailing list