src/primitives.cpp

changeset 1224
5a31b6d4bf81
parent 1222
34def2630300
child 1229
04af56fa8ce6
--- a/src/primitives.cpp	Thu Jan 04 22:42:01 2018 +0200
+++ b/src/primitives.cpp	Thu Jan 04 22:52:04 2018 +0200
@@ -625,10 +625,10 @@
 	QString author = APPNAME;
 	QString license = "";
 
-	if (not config.defaultName().isEmpty())
+	if (not config->defaultName().isEmpty())
 	{
 		license = PreferredLicenseText();
-		author = format("%1 [%2]", config.defaultName(), config.defaultUser());
+		author = format("%1 [%2]", config->defaultName(), config->defaultUser());
 	}
 
 	LDObjectList objs;

mercurial