src/hierarchyelement.cpp

changeset 1323
05b3e173c900
parent 1251
e75cc5bff076
child 1326
69a90bd2dba2
--- a/src/hierarchyelement.cpp	Sat Mar 24 12:09:26 2018 +0200
+++ b/src/hierarchyelement.cpp	Sat Mar 24 12:34:20 2018 +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 config::useCaLicense() ? caLicenseText : "";
 }

mercurial