src/gui_actions.cpp

changeset 504
6a1fa662bfc1
parent 498
791c831c8020
child 522
afa691788bdb
equal deleted inserted replaced
503:bebe09014dd6 504:6a1fa662bfc1
360 if (!f) 360 if (!f)
361 { critical (fmt ("Couldn't open %1 (%2)", fname, strerror (errno))); 361 { critical (fmt ("Couldn't open %1 (%2)", fname, strerror (errno)));
362 return; 362 return;
363 } 363 }
364 364
365 List<LDObject*> objs = loadFileContents (&f, null); 365 QList<LDObject*> objs = loadFileContents (&f, null);
366 366
367 g_win->sel().clear(); 367 g_win->sel().clear();
368 368
369 for (LDObject* obj : objs) 369 for (LDObject* obj : objs)
370 { LDFile::current()->insertObj (idx, obj); 370 { LDFile::current()->insertObj (idx, obj);

mercurial