don't call a ctor from another

this should work with stricter compiler options
This commit is contained in:
Marco Martin 2013-08-06 15:06:07 +02:00
parent d1a3f07bce
commit d654c68713

View File

@ -62,7 +62,8 @@ DataEngine::DataEngine(const KPluginInfo &plugin, QObject *parent)
}
DataEngine::DataEngine(QObject* parent, const QVariantList &args)
: Plasma::DataEngine(KPluginInfo(args), parent)
: QObject(parent),
d(new DataEnginePrivate(this, KPluginInfo(args)))
{
if (d->script) {
d->setupScriptSupport();