hi all,

i'm using QSettings to read contents inside an ini file and the ini file looks something like this

[WINDOW_23]
Name=randomwindow
Position=0, 204, 203, 0; cmd, x, y, w, b


Qt Code:
  1. set.beginGroup(groupname);
  2. QString position=set.value("Position").toString();
  3. set.endGroup(groupname);
To copy to clipboard, switch view to plain text mode 

by using the code above, i've been able to go into the group (in this case WINDOW_23) and read the Name. but using the same method, i'm not able to read the Position. can someone tell me what I've done wrong?

qt and c++ total amateur here. thanks in advance!