On Fri, 2014-02-21 at 07:29 -0800, Dirk Hohndel wrote: > You also need to decide whether the keys are 0 based or one based: > > + for (int c = 1; c <= 4; c++) { > + QString key = QString("File_%1").arg(c); > > and later > > + for (int c = 0; c < 4; c++) { > + QString key = QString("File_%1").arg(c + 1);
That comment should have been "whether the loop variable is 0 based or 1 based". Your code is correct, but confusing. /D _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface