src/lddocument.cpp

changeset 1340
ea1b3ea9a3ca
parent 1329
025578d6e491
child 1377
0b9a946002be
--- a/src/lddocument.cpp	Sat Mar 24 16:33:23 2018 +0200
+++ b/src/lddocument.cpp	Sat Mar 24 16:40:12 2018 +0200
@@ -571,3 +571,11 @@
 {
 	m_verticesOutdated = true;
 }
+
+decltype(LDHeader::license) LDHeader::defaultLicense()
+{
+	if (config::useCaLicense())
+		return LDHeader::CaLicense;
+	else
+		return LDHeader::UnspecifiedLicense;
+}

mercurial