src/addObjectDialog.cpp

changeset 1063
1f15c52c11f6
parent 1045
f726f8f49c7e
child 1064
4c7a353cf583
equal deleted inserted replaced
1062:4119185b56ca 1063:1f15c52c11f6
310 310
311 if (type == OBJ_SubfileReference) 311 if (type == OBJ_SubfileReference)
312 { 312 {
313 QStringList matrixstrvals = dlg.le_matrix->text().split (" ", QString::SkipEmptyParts); 313 QStringList matrixstrvals = dlg.le_matrix->text().split (" ", QString::SkipEmptyParts);
314 314
315 if (matrixstrvals.size() == 9) 315 if (length(matrixstrvals) == 9)
316 { 316 {
317 double matrixvals[9]; 317 double matrixvals[9];
318 int i = 0; 318 int i = 0;
319 319
320 for (QString val : matrixstrvals) 320 for (QString val : matrixstrvals)

mercurial