src/primitives.cpp

changeset 1215
77a0270352a3
parent 1012
413ecd6b9801
child 1217
314e12e23c3a
equal deleted inserted replaced
1214:fed9aacd1fab 1215:77a0270352a3
623 document->setDefaultName (name); 623 document->setDefaultName (name);
624 624
625 QString author = APPNAME; 625 QString author = APPNAME;
626 QString license = ""; 626 QString license = "";
627 627
628 if (not Config->defaultName().isEmpty()) 628 if (not config.defaultName().isEmpty())
629 { 629 {
630 license = PreferredLicenseText(); 630 license = PreferredLicenseText();
631 author = format ("%1 [%2]", Config->defaultName(), Config->defaultUser()); 631 author = format ("%1 [%2]", config.defaultName(), config.defaultUser());
632 } 632 }
633 633
634 LDObjectList objs; 634 LDObjectList objs;
635 635
636 objs << LDSpawn<LDComment> (descr) 636 objs << LDSpawn<LDComment> (descr)

mercurial