[vlmc-devel] commit: EffectsEngine: Fix previous commit ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Sep 1 01:03:19 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep  1 01:02:58 2010 +0200| [5c8b473d4003e36e88f4b962603f20d4aeda0cac] | committer: Hugo Beauzée-Luyssen 

EffectsEngine: Fix previous commit

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

 src/EffectsEngine/EffectsEngine.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/EffectsEngine/EffectsEngine.cpp b/src/EffectsEngine/EffectsEngine.cpp
index 888cfb1..0d049b2 100644
--- a/src/EffectsEngine/EffectsEngine.cpp
+++ b/src/EffectsEngine/EffectsEngine.cpp
@@ -38,6 +38,11 @@ EffectsEngine::EffectsEngine()
     m_cache = new QSettings( QDesktopServices::storageLocation(
                     QDesktopServices::CacheLocation ) + "/effects",
                              QSettings::IniFormat, this );
+    //Create the names entry. A bit ugly but faster (I guess...) afterward.
+    m_names.push_back( QStringList() );
+    m_names.push_back( QStringList() );
+    m_names.push_back( QStringList() );
+    m_names.push_back( QStringList() );
 }
 
 EffectsEngine::~EffectsEngine()



More information about the Vlmc-devel mailing list