From a1e163b710fdb3a57fe20e58a4d842323eb363d8 Mon Sep 17 00:00:00 2001 From: Stefan Hoops Date: Tue, 19 Mar 2024 14:43:25 -0400 Subject: [PATCH] Fixed compilation MacOS X. --- copasi/UI/CQEventDM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copasi/UI/CQEventDM.cpp b/copasi/UI/CQEventDM.cpp index 3a17028e3c..2c3bfa80ab 100644 --- a/copasi/UI/CQEventDM.cpp +++ b/copasi/UI/CQEventDM.cpp @@ -108,7 +108,7 @@ QVariant CQEventDM::data(const QModelIndex &index, int role) const const CModelEntity * pEntity = nullptr; for (; it != end; ++it) - if (CDataObject::findObjectAncestor(it->getTargetObject(), pEntity)) + if (CDataContainer::findObjectAncestor(it->getTargetObject(), pEntity)) { if (it != begin) {