diff data/model/Model.cpp @ 345:700cd3350391

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents 516819f2b97b
children ac300d385ab2 94fc0591ea43
line wrap: on
line diff
--- a/data/model/Model.cpp	Wed Nov 28 13:20:40 2007 +0000
+++ b/data/model/Model.cpp	Wed Nov 28 17:45:37 2007 +0000
@@ -148,12 +148,21 @@
 Model::getTitle() const
 {
     if (m_sourceModel) return m_sourceModel->getTitle();
+    else return "";
 }
 
 QString
 Model::getMaker() const
 {
     if (m_sourceModel) return m_sourceModel->getMaker();
+    else return "";
+}
+
+QString
+Model::getLocation() const
+{
+    if (m_sourceModel) return m_sourceModel->getLocation();
+    else return "";
 }
 
 void