Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 01ad8136 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Shouldn't have committed this

svn path=/trunk/koffice/; revision=924673
parent ed12184a
......@@ -31,7 +31,7 @@
#include <klocale.h>
#include <kservice.h>
#include <kservicetypetrader.h>
#include <k3staticdeleter.h>
//#include <k3staticdeleter.h>
#include <lcms.h>
......@@ -70,13 +70,13 @@ struct KoColorSpaceRegistry::Private {
};
KoColorSpaceRegistry *KoColorSpaceRegistry::Private::singleton = 0;
static K3StaticDeleter<KoColorSpaceRegistry> staticDeleter;
//static K3StaticDeleter<KoColorSpaceRegistry> staticDeleter;
KoColorSpaceRegistry* KoColorSpaceRegistry::instance()
{
if (KoColorSpaceRegistry::Private::singleton == 0)
{
staticDeleter.setObject(KoColorSpaceRegistry::Private::singleton, new KoColorSpaceRegistry());
//staticDeleter.setObject(KoColorSpaceRegistry::Private::singleton, new KoColorSpaceRegistry());
KoColorSpaceRegistry::Private::singleton = new KoColorSpaceRegistry();
KoColorSpaceRegistry::Private::singleton->init();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment