--- 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; +}