diff framework/MainWindowBase.cpp @ 685:7540733f5480 by-id

Overhaul SV file reader etc
author Chris Cannam
date Thu, 04 Jul 2019 14:31:22 +0100
parents 5e9b1956b609
children 610fa108fbcc
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Wed Jul 03 14:21:05 2019 +0100
+++ b/framework/MainWindowBase.cpp	Thu Jul 04 14:31:22 2019 +0100
@@ -2665,14 +2665,14 @@
 }
 
 ModelId
-MainWindowBase::getMainModelId()
+MainWindowBase::getMainModelId() const
 {
     if (!m_document) return {};
     return m_document->getMainModel();
 }
 
 std::shared_ptr<WaveFileModel>
-MainWindowBase::getMainModel()
+MainWindowBase::getMainModel() const
 {
     return ModelById::getAs<WaveFileModel>(getMainModelId());
 }