[Solved]How to count childGroups()
I need to return the number of groups in a ini file.
The return that I need is 2 because I have 2 groups. How can I do This?
Thanks in Advance
Is it a settings file for your application?
Then i would suggest something like this:
QStringList groups = settings.childGroups();
Thank you Jan-Willem this works :)
Glad I could help.