Remove clang warnings in particles
authorYann Bodson <yann.bodson@nokia.com>
Fri, 10 Feb 2012 04:48:10 +0000 (14:48 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Feb 2012 05:21:58 +0000 (06:21 +0100)
Change-Id: I4fb92a76143e5b9b607bbf9461b27ade3776edf0
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/quick/particles/qquickwander.cpp
src/quick/particles/qquickwander_p.h

index f2c0184..ec86323 100644 (file)
@@ -109,12 +109,13 @@ WanderData* QQuickWanderAffector::getData(int idx)
     return d;
 }
 
-void QQuickWanderAffector::reset(int systemIdx)
-{
-    if (m_wanderData.contains(systemIdx))
-        delete m_wanderData[systemIdx];
-    m_wanderData.remove(systemIdx);
-}
+// TODO: see below
+//void QQuickWanderAffector::reset(int systemIdx)
+//{
+//    if (m_wanderData.contains(systemIdx))
+//        delete m_wanderData[systemIdx];
+//    m_wanderData.remove(systemIdx);
+//}
 
 bool QQuickWanderAffector::affectParticle(QQuickParticleData* data, qreal dt)
 {
index 916eef0..d71e55d 100644 (file)
@@ -75,7 +75,7 @@ public:
 
     explicit QQuickWanderAffector(QQuickItem *parent = 0);
     ~QQuickWanderAffector();
-    virtual void reset(int systemIdx);
+//    virtual void reset(int systemIdx);
 
     qreal xVariance() const
     {