diff --git a/libkdecorations/kdecorationfactory.cpp b/libkdecorations/kdecorationfactory.cpp index b5b4aa71cf..0db2703abc 100644 --- a/libkdecorations/kdecorationfactory.cpp +++ b/libkdecorations/kdecorationfactory.cpp @@ -45,8 +45,8 @@ KDecorationFactory::KDecorationFactory(QObject *parent) KDecorationFactory::~KDecorationFactory() { - delete d; assert(d->decorations.count() == 0); + delete d; } void KDecorationFactory::checkRequirements(KDecorationProvides*)