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) |