[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/plugins/videoshape
From:       Christoph Schleifenbaum <christoph () kdab ! net>
Date:       2010-01-21 15:22:32
Message-ID: 1264087352.133280.11870.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1078112 by cschleifenbaum:

Compile on Mac with gcc


 M  +4 -3      VideoCollection.cpp  


--- trunk/koffice/plugins/videoshape/VideoCollection.cpp #1078111:1078112
@@ -35,9 +35,7 @@
 public:
     ~Private()
     {
-        foreach(VideoData *id, videos)
-            id->collection = 0;
-    }
+   }
 
     QMap<qint64, VideoData*> videos;
     // an extra map to find all dataObjects based on the key of a store.
@@ -52,6 +50,9 @@
 
 VideoCollection::~VideoCollection()
 {
+    foreach(VideoData *id, d->videos) {
+        id->collection = 0;
+    }
     delete d;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic