From 44224f74522db31d0f30b772d1ae4d0a30b4f7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 12 Jan 2012 10:43:18 +0000 Subject: [PATCH] Moved const UpdateType to reference git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13344 383ad7c9-94d9-4d36-a494-682f7c89f535 --- MeshObjectInfoPlugin.cc | 2 +- MeshObjectInfoPlugin.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MeshObjectInfoPlugin.cc b/MeshObjectInfoPlugin.cc index 7be23b2..c7a194c 100644 --- a/MeshObjectInfoPlugin.cc +++ b/MeshObjectInfoPlugin.cc @@ -718,7 +718,7 @@ bool InfoMeshObjectPlugin::getEdgeLengths(int _id, double &min, double &max, dou //------------------------------------------------------------------------------ -void InfoMeshObjectPlugin::slotObjectUpdated( int /*_identifier*/ , const UpdateType _type){ +void InfoMeshObjectPlugin::slotObjectUpdated( int /*_identifier*/ , const UpdateType& _type){ if ( (PluginFunctions::objectCount() == 1) || (PluginFunctions::targetCount() == 1) ){ diff --git a/MeshObjectInfoPlugin.hh b/MeshObjectInfoPlugin.hh index 71ae831..0f45fe0 100644 --- a/MeshObjectInfoPlugin.hh +++ b/MeshObjectInfoPlugin.hh @@ -98,7 +98,7 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface // BaseInterface void initializePlugin(); void pluginsInitialized(); - void slotObjectUpdated( int _identifier, const UpdateType _type ); + void slotObjectUpdated( int _identifier, const UpdateType& _type ); void slotObjectSelectionChanged( int _identifier ); void slotAllCleared(); -- GitLab