[vlmc-devel] commit: Static methods doesn't require an instance to work. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Fri Jul 30 00:38:28 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Jul 30 00:08:02 2010 +0200| [f41201e0c973e4b01603c1092674c520df249ea6] | committer: Hugo Beauzée-Luyssen 

Static methods doesn't require an instance to work.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=f41201e0c973e4b01603c1092674c520df249ea6
---

 src/Renderer/WorkflowRenderer.cpp  |    2 +-
 src/Workflow/VideoClipWorkflow.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Renderer/WorkflowRenderer.cpp b/src/Renderer/WorkflowRenderer.cpp
index 1258428..a3b4047 100644
--- a/src/Renderer/WorkflowRenderer.cpp
+++ b/src/Renderer/WorkflowRenderer.cpp
@@ -402,7 +402,7 @@ WorkflowRenderer::saveProject( QXmlStreamWriter &project ) const
     project.writeStartElement( "renderer" );
     {
         QReadLocker     lock( m_effectsLock );
-        EffectsEngine::getInstance()->saveEffects( m_effects, project );
+        EffectsEngine::saveEffects( m_effects, project );
     }
     project.writeEndElement();
 }
diff --git a/src/Workflow/VideoClipWorkflow.cpp b/src/Workflow/VideoClipWorkflow.cpp
index 9ca3075..9f1036c 100644
--- a/src/Workflow/VideoClipWorkflow.cpp
+++ b/src/Workflow/VideoClipWorkflow.cpp
@@ -228,7 +228,7 @@ void
 VideoClipWorkflow::saveEffects( QXmlStreamWriter &project ) const
 {
     QReadLocker lock( m_effectsLock );
-    EffectsEngine::getInstance()->saveEffects( m_effects, project );
+    EffectsEngine::saveEffects( m_effects, project );
 }
 
 void



More information about the Vlmc-devel mailing list