]> git.sesse.net Git - kdenlive/commitdiff
fix fault on exit kdenlive
authorMarco Gittler <marco@gitma.de>
Mon, 31 Mar 2008 11:01:32 +0000 (11:01 +0000)
committerMarco Gittler <marco@gitma.de>
Mon, 31 Mar 2008 11:01:32 +0000 (11:01 +0000)
svn path=/branches/KDE4/; revision=2151

src/effectstackedit.cpp
src/effectstackedit.h

index 35fc93743e7f0207a3dbd85351dbb5f53dd24c58..361e5f2e64d1a89693872165308e84a9bfcf5589 100644 (file)
@@ -64,6 +64,11 @@ EffectStackEdit::EffectStackEdit(QFrame* frame, QWidget *parent): QObject(parent
     wid->show();
 
 }
+
+EffectStackEdit::~EffectStackEdit() {
+    iconCache.clear();
+}
+
 void EffectStackEdit::transferParamDesc(const QDomElement& d, int , int) {
     kDebug() << "in";
     params = d;
index 72b6f96971fd590d382311302018187e8d9ab9c1..c7dc1605530727547008275e83538fc1e46851a4 100644 (file)
@@ -30,6 +30,7 @@ class EffectStackEdit : public QObject {
     Q_OBJECT
 public:
     EffectStackEdit(QFrame* frame, QWidget *parent);
+    ~EffectStackEdit();
     static QMap<QString, QImage> iconCache;
 private:
     void clearAllItems();