one theory what it can be
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Wed, 12 Dec 2007 08:40:36 +0000 (08:40 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Wed, 12 Dec 2007 08:40:36 +0000 (08:40 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@43009 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/YQWizard.cc
src/YQWizard.h

index 4642d69..1f372f2 100644 (file)
@@ -1112,6 +1112,10 @@ void YQWizard::Step::deleteLabels()
     _nameLabel = 0;
 }
 
+YQWizard::Step::~Step()
+{
+    deleteLabels();
+}
 
 void YQWizard::Step::setStatus( Status s )
 {
index a5330ef..420a156 100644 (file)
@@ -567,7 +567,7 @@ protected:
        /**
         * Destructor. Intentionally not deleting the widgets.
         **/
-       virtual ~Step() {}
+       virtual ~Step();
 
        virtual bool isHeading() const { return false; }