--- a/src/hierarchyelement.cpp Sun Mar 05 16:57:49 2017 +0200 +++ b/src/hierarchyelement.cpp Sun Mar 05 20:25:22 2017 +0200 @@ -42,7 +42,6 @@ } m_documents = m_window->documents(); - m_config = m_window->config(); } @@ -85,5 +84,5 @@ QString HierarchyElement::preferredLicenseText() const { QString caLicenseText = "!LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt"; - return m_config->useCaLicense() ? caLicenseText : ""; + return configuration().useCaLicense() ? caLicenseText : ""; }