LeoTestard/Yaccs — Issue #8: Default values
Author: LeoTestard
Created: 2011-12-12 01:28:43+00:00
State: open

With QSettings, it is possible to specify a default value :

settings.value("key", "default value");

if the key is not found, then the default value will be returned. For the client, this avoids to have to check manually if the returned value is not null and use the default value instead.
It should be possible to do the same with Yaccs