src/hierarchyelement.cpp

changeset 1192
317f4ce38f3f
parent 1160
2cf16ba952bf
child 1194
99085cfaeabd
--- 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 : "";
 }

mercurial