Hello,
my application uses QSettings to save some states in several groups. The user has the ability to remove these keys manually. But when a group has no keys any more i want to delete it, but how can i do this?
Hello,
my application uses QSettings to save some states in several groups. The user has the ability to remove these keys manually. But when a group has no keys any more i want to delete it, but how can i do this?
Qt Code:
settings.beginGroup("groupname"); settings.remove(""); //removes the group, and all it keys settings.endGroup();To copy to clipboard, switch view to plain text mode
seux (27th June 2011)
Bookmarks